drain method

Future<void> drain()

Gives a capable transport a local write-pacing opportunity.

Completion is not an acknowledgement from the remote peer.

Implementation

Future<void> drain() => _drain?.call() ?? Future<void>.value();