Wait

Overview

Waits until every node connected into it has completed in the same flow run, then starts the nodes connected after it.

Use it when parallel model-training branches and their evaluation steps must finish before one shared comparison step starts. In the example below, the YOLO and DEIM branches both train and run Evaluate object detection, then Wait lets the comparison run after both evaluations are complete.

Run flow Train YOLO Evaluate object detection Wait Train DEIM Evaluate object detection Compare object detectors

How it works

1

Checks, each time a node connected into it finishes, whether all of them have now completed in this flow run.

2

Holds the path until the last of those nodes has completed.

3

Runs once, then starts the nodes connected after it.

FAQ

Only execution connections into the node. Visual-only links are ignored, so they never make it wait.

It passes through as soon as that branch finishes.

No. It runs once per flow run, after the last branch completes.

Wait never continues in that flow run. It needs every node connected into it to complete, so a failed, cancelled, or skipped node holds it for good. Fix the branch and run the flow again.

A rerun that starts inside one branch is a new flow run, and the other branches don’t run in it. Wait only counts nodes that completed in the same run, so start the flow from a point upstream of every branch, for example a Run flow node.

No. It only runs when a node connected into it finishes.

No. It has no inputs or outputs and only controls execution order.

JSON config

Machine-readable node interface for automation and advanced usage.

{
"name": "Wait",
"description": "Wait for all incoming execution branches to complete before continuing. Place at merge points in parallel flows.",
"category": "Flow control",
"namespace": null,
"templateKey": "flow_control/wait",
"version": "v1",
"inputs": [],
"outputs": [],
"runtime": {
"type": "headless",
"requiresGpu": false,
"dockerImage": null
},
"automation": {
"wait_for_all_upstream": true
}
}