Liking cljdoc? Tell your friends :D

utility-belt.lifecycle


hooksclj

source

install-shutdown-hooks!clj

(install-shutdown-hooks!)

Install the shutdown handler, which will run any registered shutdown hooks.

Install the shutdown handler, which will run any registered shutdown hooks.
sourceraw docstring

register-shutdown-hookclj

(register-shutdown-hook name hook-fn)

Add a function to run when the application gracefully shuts down. Useful for stopping the Component system or long running threads

Add a function to run when the application *gracefully* shuts down.
Useful for stopping the Component system or long running threads
sourceraw docstring

run-registered-hooksclj

(run-registered-hooks)
source

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

× close