(on-shutdown f)
Run the function f
on JVM shutdown.
Run the function `f` on JVM shutdown.
(with-component [component-sym component] & body)
Start the component
, bind the started instance to
component-sym
, evaluate body
and stop the component again.
Start the `component`, bind the started instance to `component-sym`, evaluate `body` and stop the component again.
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 |