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 is a website building & hosting documentation for Clojure/Script libraries
× close