dispose abstract method

Future<void> dispose()

Releases all resources associated with this repository.

After disposal:

  • No new events can be added
  • Existing subscriptions will be closed
  • Repository becomes unusable

Implementation

Future<void> dispose();