Liking cljdoc? Tell your friends :D

mount.extensions.autostart

This extension provides a defstate that auto-starts on first use.

Use set-autostart-fn! to configure which fn should be used to start the states.

This extension provides a `defstate` that auto-starts on first use.

Use `set-autostart-fn!` to configure which fn should be used to start the states.
raw docstring

autostart-fnclj

The fn that will be called to automatically start any state that has been deref'd but not started. If this fn is unsuccessful in starting the state, the standard error handling will occur.

The fn that will be called to automatically start any state
that has been deref'd but not started. If this fn is unsuccessful
in starting the state, the standard error handling will occur.
sourceraw docstring

defstatecljmacro

(defstate name & args)

Defines a state that will be auto-started on first deref, including its dependencies.

See mount.lite/defstate for more information.

Defines a state that will be auto-started on first deref, including its dependencies.

See `mount.lite/defstate` for more information.
sourceraw docstring

set-autostart-fn!clj

(set-autostart-fn! fn)

Configures autostart-fn use by AutoStartState during state deref.

Configures `autostart-fn` use by `AutoStartState` during state deref.
sourceraw docstring

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

× close