(with-runtime sys f)
Starts the given component system and then passes the runtime
component from the started system to f
. When complete, shuts
down the system.
Starts the given component system and then passes the `runtime` component from the started system to `f`. When complete, shuts down the system.
(with-system sys f)
Starts the system passes it to f
and then shuts it down afterwards.
Starts the system passes it to `f` and then shuts it down afterwards.
(with-system-async sys f)
Same as with-system
but assumes f
returns a deferred that is not being deref
ed
but wrapped so the system is stopped when the deferred is realized.
Same as `with-system` but assumes `f` returns a deferred that is not being `deref`ed but wrapped so the system is stopped when the deferred is realized.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close