DrainChannelCallback typedef

Future<void> DrainChannelCallback (
  1. ByteData,
  2. PlatformMessageResponseCallback
)

Signature for ChannelBuffers.drain.

Implementation

typedef DrainChannelCallback = Future<void> Function(ByteData, PlatformMessageResponseCallback);