(assemble-system config)
(assemble-system config component-ids)
Assembles config into a system-map which can be used with com.stuartsierra.component/start-system
.
config - configuration for the system
component-ids - a sequence of component ids. When provided, only the necessary parts of the system map to support those components will be included in the final system map. By default, the returned system contains all components from the supplied config.
Assembles config into a system-map which can be used with `com.stuartsierra.component/start-system`. config - configuration for the system component-ids - a sequence of component ids. When provided, only the necessary parts of the system map to support those components will be included in the final system map. By default, the returned system contains all components from the supplied config.
(merged-config config)
(merged-config config component-ids)
Applies any merge definitions, then optionally selects just the specified subset of components, including transitive dependencies.
This is useful for testing, to see the intermediate state before components are instantiated.
Applies any merge definitions, then optionally selects just the specified subset of components, including transitive dependencies. This is useful for testing, to see the intermediate state before components are instantiated.
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 |