: select¶
Repeatedly run a command until it matches the given condition, e.g. :select i i.is_valid_int() =-> :key await. Ensure the expression body is async, or you may get an infinite loop!
Usage: : select <BINDING> <EXPRESSION>...
Arguments¶
| Name | Description | Possible values | Default |
|---|---|---|---|
<BINDING> | Name of variable to bind expression result to | ||
<EXPRESSION> | The condition and expression, separated by =-> |