onFlush method

  1. @override
Future<void> onFlush()
override

Waits for accepted entries to be delivered. Does nothing by default: for sinks that deliver entries immediately in onAdd.

Implementation

@override
Future<void> onFlush() async => flushCount++;