new CommandRegistration()
Methods
command() → {Command}
Returns:
-
the registered command.
-
- Type
- Command
unregister(handler)
Unregister the current command
Parameters:
Name | Type | Description |
---|---|---|
handler |
function |