(defsystem system-name doc args & body)
Define a new system and helper functions.
Define a new system and helper functions.
(on-shutdown f)
Run the function f
on JVM shutdown.
Run the function `f` on JVM shutdown.
(with-system [component-sym component] & body)
Start the component
, bind the started component to
component-sym
, evaluate body
and stop component
again.
Start the `component`, bind the started component to `component-sym`, evaluate `body` and stop `component` again.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close