MessageDispatchCallback typedef

MessageDispatchCallback = Future<Message?> Function(Message)

Callback function type for message dispatch operations.

Takes a Message and returns a Future that resolves to the processed message or null if the operation failed.

Implementation

typedef MessageDispatchCallback = Future<Message?> Function(Message);