Liking cljdoc? Tell your friends :D

deferst.system


start-system!clj/s

(start-system! system-builder config)

given a system-builder, start a system with the seed config returns a Deferred<[system-map, system]>. if an Exception is thrown somewhere, unwind the system construction and call destructor functions for the objects which have so far been constructed. returns a Deferred<[_, system]>

given a system-builder, start a system with the seed config
returns a Deferred<[system-map, system]>. if an Exception
is thrown somewhere, unwind the system construction and
call destructor functions for the objects which have so
far been constructed.
returns a Deferred<[_, system]>
sourceraw docstring

stop-system!clj/s

(stop-system! dsys)

given a Deferred<[{::monad/val <> ::state/state system}]> (i.e. the result of one of the value fns) stop the system, running destructor functions in reverse order to object construction

given a Deferred<[{::monad/val <> ::state/state system}]>
(i.e. the result of one of the value fns) stop the system, running
destructor functions in reverse order to object construction
sourceraw docstring

system-builderclj/s

(system-builder key-factoryfn-argspecs-list)
(system-builder base-system-builder key-factoryfn-argspecs-list)

return a system-builder in the PRWS monad which will build objects in the state map with build-obj according to the key-factory-fn-argspecs-list.

when run with eval-prws and a seed (using start-system!) the system-builder will return a Deferred<[system-map, system]>

return a system-builder in the PRWS monad which
will build objects in the state map with build-obj according
to the key-factory-fn-argspecs-list.

when run with eval-prws and a seed (using start-system!)
the system-builder will return a Deferred<[system-map, system]>
sourceraw docstring

system-mapclj/s

(system-map dsys)

given the result of a config-ctx value fn, a Deferred<[system-map, system]>, extract the system-map returning a Deferred<system-map>

given the result of a config-ctx value fn,
a Deferred<[system-map, system]>, extract the system-map
returning a Deferred<system-map>
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close