(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 is a website building & hosting documentation for Clojure/Script libraries
× close