message_store v2.1.0
MessageStore
View Source
A module for interactions with message store
Specs
fetch(conn, String.t(), m,
read:
(conn, String.t(), list() ->
Result.t(reason, [EventStore.RecordedEvent.t()])),
project: ([EventStore.RecordedEvent.t()], m -> projection)
) :: Result.t(reason, projection)
when conn: module(), m: module(), reason: term(), projection: any()
Specs
to_result(:ok | {:error, err}, value) :: Result.t(err, value)
when err: any(), value: any()