Rill v0.10.4 Rill.MessageStore.Memory View Source
Link to this section Summary
Functions
Returned enumerable must be a stream from the given position until the end
of the stream. If fun
is passed, the stream will instead be reduced, with
an accumulator value initially being nil
and successive values will be
those returned by fun
Callback implementation for Rill.MessageStore.write/4
Callback implementation for Rill.MessageStore.write_initial/3
Link to this section Functions
read(session, stream_name, opts \\ [], fun \\ nil) View Source
Returned enumerable must be a stream from the given position until the end
of the stream. If fun
is passed, the stream will instead be reduced, with
an accumulator value initially being nil
and successive values will be
those returned by fun
Callback implementation for Rill.MessageStore.read/4
.
start_link(opts \\ []) View Source
write(session, message_or_messages, stream_name, opts \\ []) View Source
Callback implementation for Rill.MessageStore.write/4
.
write_initial(session, message, stream_name) View Source
Callback implementation for Rill.MessageStore.write_initial/3
.