(start-system components config)Start all components in dependency order.
components is a plain sequence (list, vector, …) of component records —
no pre-registration needed.
Returns a system map that can be passed directly to stop-system.
If any component throws during start, services that already started successfully are stopped (in reverse dependency order) before the originating exception is rethrown.
Start all components in dependency order. `components` is a plain sequence (list, vector, …) of component records — no pre-registration needed. Returns a system map that can be passed directly to `stop-system`. If any component throws during start, services that already started successfully are stopped (in reverse dependency order) before the originating exception is rethrown.
(stop-system system)Stop all services in the system, in reverse dependency order.
Only the system map returned by start-system is required — no registry.
Stop all services in the system, in reverse dependency order. Only the system map returned by `start-system` is required — no registry.
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 |