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

Link to this section Functions

Link to this function

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.

Link to this function

write(session, message_or_messages, stream_name, opts \\ []) View Source

Callback implementation for Rill.MessageStore.write/4.

Link to this function

write_initial(session, message, stream_name) View Source

Callback implementation for Rill.MessageStore.write_initial/3.