executeOne method Null safety

Future executeOne(
  1. String? correlationId,
  2. dynamic component,
  3. Parameters args
)

Executes specific component.

To be executed components must implement IExecutable interface. If they don't the call to this method has no effect.

  • correlationId (optional) transaction id to trace execution through call chain.
  • component the component that is to be executed.
  • args execution arguments. Return Future that receives execution result or error.

See IExecutable See Parameters