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:#
- When the
execinput is triggered, the node starts executing all connected output branches from theexecarray simultaneously. - The node waits for all parallel branches to finish.
- If all branches complete without errors, the
Completedoutput is triggered.
Error Handling:#
- If any of the parallel branches encounters an error, the execution of all other branches is cancelled.
- The
Completedoutput 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. | |
| Triggered after all parallel branches complete successfully. |
ID: core/concurrent-exec@v1