A protocol and methods for allowing connections and other stateful objects to persist in components across resets.
A protocol and methods for allowing connections and other stateful objects to persist in components across resets.
(resume-system system old-system)
(resume-system system old-system component-keys)
Resume components in a new system using components from a previously suspended system. Components that are not suspendable or that are missing from the previous system are started instead. Returns the resumed system.
Resume components in a new system using components from a previously suspended system. Components that are not suspendable or that are missing from the previous system are started instead. Returns the resumed system.
(suspend-system system)
(suspend-system system component-keys)
Suspend or stop every component in a system. Returns the suspended system.
Suspend or stop every component in a system. Returns the suspended system.
(resume component old-component)
Given a new component and a suspended old component, return a component that incorporates the suspended data into the new component, if possible.
Given a new component and a suspended old component, return a component that incorporates the suspended data into the new component, if possible.
(suspend component)
Suspend a component and return the suspended component. Expected to be called before a resume.
Suspend a component and return the suspended component. Expected to be called before a resume.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close