Skip to content

Concurrent Execution

Executes multiple execution branches in parallel.

This node splits the execution flow into multiple branches that run concurrently (in parallel).

How it works:#

  1. When the exec input is triggered, the node starts executing all connected output branches from the exec array simultaneously.
  2. The node waits for all parallel branches to finish.
  3. If all branches complete without errors, the Completed output is triggered.

Error Handling:#

  • If any of the parallel branches encounters an error, the execution of all other branches is cancelled.
  • The Completed output will not be triggered.
  • The error is propagated downstream from the node.

Note: If concurrency is disabled in the runtime environment, the branches will be executed sequentially one after another.

Inputs#

Port Description
Triggers the concurrent execution.

Outputs#

Port Description
Execution branches to run in parallel.
Completed
Triggered after all parallel branches complete successfully.

ID: core/concurrent-exec@v1