(assemble-system config)
(assemble-system config component-ids)
Assembles config into a system-map which can be used with com.stuartsierra.component/start
.
config - configuration for the system
component-ids - a sequence of component ids. When provided, only the neccessary parts of the system map to support those components will be inlcluded 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`. config - configuration for the system component-ids - a sequence of component ids. When provided, only the neccessary parts of the system map to support those components will be inlcluded 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 is a website building & hosting documentation for Clojure/Script libraries
× close