Liking cljdoc? Tell your friends :D

verbo.sokka.ctrl

protocol and a default implementation of a control that enables multiple threads to co-ordinate life cycle events, like termination (close), kill (abort) and timeout.

protocol and a default implementation of a `control` that enables
multiple threads to co-ordinate life cycle events, like
termination (close), kill (abort) and timeout.
raw docstring

Controlcljprotocol

abort!clj

(abort! this)

cleanup!clj

(cleanup! this)

close!clj

(close! this)

DEFAULT-TASK-TIMEOUTclj


DefaultControlclj


monitor!clj

(monitor! {:keys [close-chan abort-chan timeout-chan p] :as ctrl})

new-controlclj

(new-control)
(new-control timeout-ms)

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

× close