Liking cljdoc? Tell your friends :D

suspendable.core

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.
raw docstring

resume-systemclj

(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.
sourceraw docstring

suspend-systemclj

(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.
sourceraw docstring

Suspendablecljprotocol

resumeclj

(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.

suspendclj

(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.
source

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

× close