readStream abstract method

Stream<StreamEvent> readStream(
  1. StreamName name,
  2. StreamReadPosition start, [
  3. int count = Max
])

Read events asynchronously as a Stream. Parameter name identifies stream to read from. Use parameter start to define the position in the stream to start reading from. Use count to limit number of events that is read from the stream (default is Max which returns all events from start).

Implementation

Stream<StreamEvent> readStream(
  StreamName name,
  StreamReadPosition start, [
  int count = Max,
]);