whileDescription:
The while executor is used to execute a list of executors, while a condition or set of conditions is true.
Parent: execute, then, else
Value:
while: sequence of (condition), required, specifying a set of conditionsexecute: sequence of (executor), required, specifying a set of executors to be run, one by one, while condition is true# key/value form
- while: (sequence of condition, required)
execute: (sequence of executor, required)
# key/value example
- while:
- script: '((new Date()).getSeconds() % 10) != 0'
execute:
- display: 'waiting for mod 10 eq 0'
- wait: 500
- display: done
Status: ✅ IMPLEMENTED