Functions that help in adding the ability for a step to be killed.
Functions that help in adding the ability for a step to be killed.
(if-not-killed ctx & body)Executes the given body unless the step was killed. If killed, sets the status accordingly.
Example:
(loop []
(if-not-killed ctx
(if (should-stop-waiting?)
{:status :success}
(recur))))
Executes the given body unless the step was killed. If killed, sets the status accordingly.
Example:
```clojure
(loop []
(if-not-killed ctx
(if (should-stop-waiting?)
{:status :success}
(recur))))
```(killed? ctx)Returns true if the step was killed.
Returns true if the step was killed.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |