Low-level API for reading streams that exposes more detailed messages than the Streams API.
- Type parameters:
- F
the effect type in which Reads operates.
- Companion:
- object
- Source:
- reads.scala
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 parameters:
- 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.
- Source:
- reads.scala
Read StreamMessage messages from an individual stream.
Read StreamMessage messages from an individual stream.
- Value parameters:
- 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.
- Source:
- reads.scala