Dispatcher typedef
Dispatcher =
Future<StatusException?> Function(CallContext ctx, Headers headers, StreamInput input, ResponseSink sink)
Server-side call handler installed by Server. Returns the status that becomes the call's TRAILERS (null = OK).
Implementation
typedef Dispatcher = Future<StatusException?> Function(
CallContext ctx, Headers headers, StreamInput input, ResponseSink sink);