Liking cljdoc? Tell your friends :D

lambdacd.stepsupport.killable

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-killedmacro

(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))))
```
sourceraw docstring

killed?

(killed? ctx)

Returns true if the step was killed.

Returns true if the step was killed.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close