purge method

FutureOr<int> purge(
  1. String channelName, {
  2. AsyncEventID? untilID,
  3. DateTime? before,
  4. bool all = false,
})

Purge events and create a new epoch from the remaining events.

Implementation

FutureOr<int> purge(String channelName,
        {AsyncEventID? untilID, DateTime? before, bool all = false}) =>
    storage.purgeEvents(channelName,
        untilID: untilID, before: before, all: all);