(atomic-system system)
Create a system atom that can safely be modified with
integrant.monkey.atomic/execute!
.
Create a system atom that can safely be modified with `integrant.monkey.atomic/execute!`.
(execute! atomic-system plan)
Execute a plan
on a atomic-system
in a compare and set
fashion. return the new system if the atomic-system is equal to the
plan system, otherwise return nil.
Execute a `plan` on a `atomic-system` in a compare and set fashion. return the new system if the atomic-system is equal to the plan system, otherwise return nil.
(extend atomic-system extension)
Create a plan to merge the given extension config into the system
Create a plan to merge the given extension config into the system
(halt atomic-system keys)
Create a plan to halt and remove the given keys
Create a plan to halt and remove the given keys
(replace atomic-system config)
Plan to replace the given system with the new configuration
Plan to replace the given system with the new configuration
(update atomic-system f & args)
Create a plan to update a system modified f
with the system config
as the first argument followed by other args
.
Create a plan to update a system modified `f` with the system config as the first argument followed by other `args`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close