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