$dispatch top-level property
Dispatches a command to its registered handler and returns the result.
Each command type must have exactly one registered handler. The command is processed through the pipeline before reaching the handler.
@returns A Future containing the result of handling the command
Implementation
final $dispatch = Mediator.commands.dispatch;