Signature for functions that handle a command and return a result.
typedef CommandHandlerCallback = Future<Result> Function(Command c);