Low-level API for reading streams that exposes more detailed messages than the Streams API.
Value members
Abstract methods
Read AllMessage messages from the global stream, sec.StreamId.All.
Read AllMessage messages from the global stream, sec.StreamId.All.
- Value Params
- direction
whether to read forwards or backwards.
- from
log position to read from.
- maxCount
limits maximum events returned.
- resolveLinkTos
whether to resolve EventType.LinkTo events automatically.
- Returns
a Stream that emits AllMessage values.
Read StreamMessage messages from an individual stream.
Read StreamMessage messages from an individual stream.
- Value Params
- direction
whether to read forwards or backwards.
- from
stream position to read from.
- maxCount
limits maximum events returned.
- resolveLinkTos
whether to resolve EventType.LinkTo events automatically.
- streamId
the id of the stream to subscribe to.
- Returns
a Stream that emits StreamMessage values.