Liking cljdoc? Tell your friends :D

systemic.core


defsyscljmacro

(defsys name
        doc-string?
        attr-map?
        [:extra-deps extras]
        [:start start-body]
        [:stop stop-body])

Defines a new systemic component with the provided name.

Defines a new systemic component with the provided name.
sourceraw docstring

dependenciesclj

(dependencies system-symbol)

Returns the dependencies of the provided system symbol

Returns the dependencies of the provided system symbol
sourceraw docstring

dependentsclj

(dependents system-symbol)

Returns the dependents of the provided system symbol

Returns the dependents of the provided system symbol
sourceraw docstring

forget!clj

(forget! system-symbol)

Removes the provided system-symbol from the registry.

Returns a sequence of the remaining known systems.

Removes the provided `system-symbol` from the registry.

Returns a sequence of the remaining known systems.
sourceraw docstring

restart!clj

(restart! & system-symbols)

Restarts all running systems. Returns a sequence of the restarted systems.

If called with symbols, only the specified systems will be restarted.

Restarts all running systems. Returns a sequence of the restarted systems.

If called with symbols, only the specified systems will be restarted.
sourceraw docstring

running?clj

(running? system-symbol)

Returns whether the provided system is currently running

Returns whether the provided system is currently running
sourceraw docstring

start!clj

(start! & system-symbols)

Starts all known systems.

If called with symbols, only the provided systems (and their dependencies) will be started.

Starts all known systems.

If called with symbols, only the provided systems (and their dependencies) will be started.
sourceraw docstring

stateclj

(state system-symbol)

Returns the existing state for the running system, if it exists

Returns the existing state for the running system, if it exists
sourceraw docstring

stop!clj

(stop! & system-symbols)

Stops all known systems.

If called with symbols, only the provided systems will be stopped.

Stops all known systems.

If called with symbols, only the provided systems will be stopped.
sourceraw docstring

with-isolated-registrycljmacro

(with-isolated-registry & body)

Executes body with an isolated registry such that defsys calls will not be persisted.

Defined systems will be removed from the calling ns as well.

Executes `body` with an isolated registry such that `defsys` calls will not be persisted.

Defined systems will be removed from the calling ns as well.
sourceraw docstring

with-systemcljmacro

(with-system bindings & body)

Executes body using system overrides from bindings as running systems.

Executes `body` using system overrides from `bindings` as running systems.
sourceraw docstring

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

× close