Provides a convention and a set of support functions for managing application state.
Provides a convention and a set of support functions for managing application state.
(app-extract app-def map-fn defval)
Extracts some data from system definition. This is useful for building config/application state schemas, configuration defaults etc.
Extracts some data from system definition. This is useful for building config/application state schemas, configuration defaults etc.
(app-init app-def config old-state old-config)
Initializes or reloads application state.
Initializes or reloads application state.
(app-shutdown app-def config old-state)
Executes :shutdown handler for all components in reverse order.
Executes :shutdown handler for all components in reverse order.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close