ExESDB.StreamsReader (ex_esdb v0.0.9-alpha)
Provides functions for reading and streaming events from the event store.
Summary
Functions
Returns a specification to start this module under a supervisor.
Returns a list of all streams in the store.
## Parameters
# - store
is the name of the store.
## Returns
# - {:ok, streams}
if successful.
Streams events from stream
in batches of count
events, in a direction
.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Returns a list of all streams in the store.
## Parameters
# - store
is the name of the store.
## Returns
# - {:ok, streams}
if successful.
@spec stream_events( store :: atom(), stream_id :: any(), start_version :: integer(), count :: integer(), direction :: :forward | :backward ) :: {:ok, Enumerable.t()} | {:error, term()}
Streams events from stream
in batches of count
events, in a direction
.