readEvents abstract method

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

Read a fixed number of events from an existing 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

Future<Iterable<StreamEvent>> readEvents(
  StreamName name,
  StreamReadPosition start, [
  int count = Max,
]);