Registers and executes commands.
0.1.0
Executes a command.
The expected result type
The command to execute
The handler's result
(from the plugin) — as a REJECTION — if no handler is registered for command.type
command.type
— as a REJECTION — if command.type is not a string
Registers a handler for a command type.
The command type
The result type
Command type name (must match command.type)
The command handler
Registers and executes commands.
Since
0.1.0