Implements Clojupter for shutting down: All threads monitor a special channel to which a shutdown token is sent when Clojupyter is to terminate.
Implements Clojupter for shutting down: All threads monitor a special channel to which a shutdown token is sent when Clojupyter is to terminate.
(initiating-shutdown-on-exit [token terminator-binding] & body)
(initiate terminator)
If called starts shutdown of Clojupyter by signalling termination channels.
If called starts shutdown of Clojupyter by signalling termination channels.
(notify-on-shutdown terminator ch)
Updates ch
to receive communication sent on the termination channel.
Updates `ch` to receive communication sent on the termination channel.
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 |