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