Executes the command. Before execution it validates args using the defined schema. The command execution intercepts exceptions raised by the called function and returns them as an error in callback.
(optional) transaction id to trace execution through call chain.
the parameters (arguments) to pass to this command for execution.
function to be called when command is complete
Gets the command name.
the name of this command.
Validates the command args before execution using the defined schema.
the parameters (arguments) to validate using this command's schema.
an array of ValidationResults or an empty array (if no schema is set).
Generated using TypeDoc
Concrete implementation of ICommand interface. Command allows to call a method or function using Command pattern.