(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 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 |