Liking cljdoc? Tell your friends :D

slip.system-map


dissoc-impl-keysclj/s

(dissoc-impl-keys system-map)
source

impl-keysclj/s

implementation keys added to the system-map

implementation keys added to the system-map
sourceraw docstring

initclj/s

(init sys-spec)

initialise a system - given a sys-spec return an initialised but not started system map, with :slip/start and :slip/stop keys for the interceptor chain descriptions

initialise a system - given a sys-spec return an initialised
but not started system map, with `:slip/start` and `:slip/stop` keys
for the interceptor chain descriptions
sourceraw docstring

running?clj/s

(running? system-map)
source

start!clj/s

(start! system-map)
(start! {start-intc :slip/start stop-intc :slip/stop :as system-map}
        {:keys [:slip/debug?]})

start a system

  • sys - an initialised system
  • :slip/debug? - add a :slip/log key to the returned system with details of the interceptor fns called

returns the started system

start a system
- `sys` - an `init`ialised system
- `:slip/debug?` - add a `:slip/log` key to the returned system
   with details of the interceptor fns called

returns the started system
sourceraw docstring

stop!clj/s

(stop! system-map)
(stop! {start-intc :slip/start stop-intc :slip/stop :as system-map}
       {:keys [:slip/debug?]})

stop a system

  • sys - a started system
  • :slip/debug? - add a :slip/log key to the returned system with details of the interceptor fns called

returns the stopped system - unless errors happened, it should be equivalent to a freshly inited system

stop a system
- `sys` - a `start`ed system
- `:slip/debug?` - add a `:slip/log` key to the returned system with
  details of the interceptor fns called

returns the stopped system - unless errors happened, it should be
  equivalent to a freshly `init`ed system
sourceraw docstring

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

× close