execute method

  1. @override
Future execute (String correlationId, Parameters args)
override

Executes the command. Before execution it validates [Parameters args] using the defined schema. The command execution intercepts exceptions raised by the called function and returns them as an error in callback.

  • correlationId (optional) transaction id to trace execution through call chain.
  • args the parameters (arguments) to pass to this command for execution. Return Future when command is complete See [Parameters]