(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.
(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
(run-registered-hooks)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close