ExESDB.StreamsReader (ex_esdb v0.1.4)
This module is responsible for reading events from a stream.
Summary
Functions
Returns a list of all streams in the store. ## Parameters
Streams events from stream
in batches of count
events, in a direction
.
Functions
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
.