readEventsBackwards abstract method

Future<Iterable<StreamEvent>> readEventsBackwards(
  1. StreamName name, [
  2. int count = Max
])

Read a fixed number of events from an existing stream backwards from last event. Parameter name identifies stream to read from. Use count to limit number of events that is read from the stream (default is Max which returns all events from given stream).

Implementation

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