Provides apply-controllers function
Provides apply-controllers function
(apply-controller controller method)
Run side-effects (:start or :stop) for controller. The side-effect function is called with controller identity value.
Run side-effects (:start or :stop) for controller. The side-effect function is called with controller identity value.
(apply-controllers old-controllers new-match)
Applies changes between current controllers and those previously enabled. Reinitializes controllers whose identity has changed.
Applies changes between current controllers and those previously enabled. Reinitializes controllers whose identity has changed.
(get-identity {:keys [identity parameters params]} match)
Get controller identity given controller and match.
To select interesting properties from Match :parameters option can be set. Value should be param-type => [param-key] Resulting value is map of param-type => param-key => value.
For other uses, :identity option can be used to provide function from Match to identity.
Default value is nil, i.e. controller identity doesn't depend on Match.
Get controller identity given controller and match. To select interesting properties from Match :parameters option can be set. Value should be param-type => [param-key] Resulting value is map of param-type => param-key => value. For other uses, :identity option can be used to provide function from Match to identity. Default value is nil, i.e. controller identity doesn't depend on Match.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close