Control flow methods
There are some helper methods which might be useful when writing code using ox’s concurrency operators:
forever { ... }repeatedly evaluates the given code block foreverrepeatWhile { ... }repeatedly evaluates the given code block, as long as it returnstruerepeatUntil { ... }repeatedly evaluates the given code block, until it returnstrueuninterruptible { ... }evaluates the given code block making sure it can’t be interruptedneverblocks the current thread indefinitely, until it is interrupted
All of these are inline methods.