Skip to main content

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​

InputTypeRequiredDefaultWhat it is
ConditionAnyYesCondition to poll.
Timeout (seconds)NumberNo30Maximum wait.
Poll (seconds)NumberNo1Interval between checks.
Fail on timeoutBooleanNotrueFail with WAIT.TIMEOUT when the time runs out; when off, carry on and set met to false.

Outputs​

OutputTypeWhat it is
metBooleanTrue when the condition became true before the timeout.