Rill.MessageStore.Ecto.Postgres v0.1.2 Rill.MessageStore.Ecto.Postgres 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_initial/3
Link to this section Types
Link to this type
transaction_timeout_option()
View Source
transaction_timeout_option()
View Source
transaction_timeout_option() ::
{:transaction_timeout, :infinity | pos_integer()}
transaction_timeout_option() :: {:transaction_timeout, :infinity | pos_integer()}
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_initial(session, message, stream_name) View Source
Callback implementation for Rill.MessageStore.write_initial/3
.