drain method

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

Performs the cleanup/flush work.

Must complete within the timeout window passed to ZenithScopeManager.endScopeAsync. If it does not, the scope is forcibly disposed anyway.

Implementation

@override
Future<void> drain() => _callback();