(add-hook! key f)
Register a function to be called with no arguments when the
application shuts down. f
must be a function of no arguments, and
key
must be a unique.
Register a function to be called with no arguments when the application shuts down. `f` must be a function of no arguments, and `key` must be a unique.
(remove-hook! key)
De-registers the shutdown hook associated with key
De-registers the shutdown hook associated with `key`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close