ProtocolMessageHandler typedef

ProtocolMessageHandler = Future<void> Function(Protocol<ProtocolChannel> protocol, int messageId, String type, Uint8List data)

Implementation

typedef ProtocolMessageHandler = Future<void> Function(Protocol protocol, int messageId, String type, Uint8List data);