callCommand method

Future callCommand (
  1. String name,
  2. String correlationId,
  3. dynamic params
)
inherited

Calls a remote method via GRPC commadable protocol. The call is made via Invoke method and all parameters are sent in args object. The complete route to remote method is defined as serviceName + '.' + name.

  • name a name of the command to call.
  • correlationId (optional) transaction id to trace execution through call chain.
  • params command parameters. Returns Future that receives result Throws error.