Liking cljdoc? Tell your friends :D

com.stuartsierra.component.repl

REPL utilities for the Component framework. Provides the global system under development and the REPL lifecycle functions reset, start, and stop. You must provide a system constructor: see set-init.

REPL utilities for the Component framework. Provides the global
`system` under development and the REPL lifecycle functions `reset`,
`start`, and `stop`. You must provide a system constructor: see
`set-init`.
raw docstring

initializerclj

No-argument function to return the initial (unstarted) system map for use during interactive development. Use set-init in your development namespace to provide an initializer function.

No-argument function to return the initial (unstarted) system map
for use during interactive development. Use `set-init` in your
development namespace to provide an initializer function.
sourceraw docstring

resetclj

(reset)

Stops the system, reloads modified source files, and restarts the system.

Stops the system, reloads modified source files, and restarts the
system.
sourceraw docstring

set-initclj

(set-init init-fn)

Specifies the user-defined initializer function to use for constructing the system. Call set-init at the top-level in your development namespace. init-fn is a function of one argument, the previous (stopped) system map, which will be nil the first time it is called. init-fn should return an (unstarted) component system map. Most init-fn implementations will ignore the argument and simply construct a new system map, but you may optionally copy state from the old system.

Specifies the user-defined initializer function to use for
constructing the system. Call `set-init` at the top-level in your
development namespace. init-fn is a function of one argument, the
previous (stopped) system map, which will be nil the first time it
is called. init-fn should return an (unstarted) component system
map. Most init-fn implementations will ignore the argument and
simply construct a new system map, but you may optionally copy state
from the old system.
sourceraw docstring

startclj

(start)

Initializes and starts a new system running, updates #'system

Initializes and starts a new system running, updates #'system
sourceraw docstring

stopclj

(stop)

Stops the system if it is currently running, updates #'system. Any exception thrown during component/stop will be printed but otherwise ignored.

Stops the system if it is currently running, updates #'system. Any
exception thrown during `component/stop` will be printed but
otherwise ignored.
sourceraw docstring

systemclj

The system under development

The system under development
sourceraw docstring

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

× close