Wait for condition
Wait until a condition is true, checking it again and again, up to a time limit.
Command in the Core toolkit · id core/wait_until · 4 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Condition | Any | Yes | Condition to poll. | |
| Timeout (seconds) | Number | No | 30 | Maximum wait. |
| Poll (seconds) | Number | No | 1 | Interval between checks. |
| Fail on timeout | Boolean | No | true | Fail with WAIT.TIMEOUT when the time runs out; when off, carry on and set met to false. |
Outputs
| Output | Type | What it is |
|---|---|---|
| met | Boolean | True when the condition became true before the timeout. |