Liking cljdoc? Tell your friends :D

moira.transition


all?cljs

source

downcljs

(down app txs ks)

Degrade modules defined in ks and all their dependencies by applying the interceptor chain txs in the context of each module respectively. Returns a new application with updated module states.

Dependencies are guaranteed to be updated in reverse order. When a circular dependency is detected, an error is thrown and no updates are applied.

Degrade modules defined in `ks` and all their dependencies by applying the
interceptor chain `txs` in the context of each module respectively. Returns a
new application with updated module states.

Dependencies are guaranteed to be updated in reverse order. When a circular
dependency is detected, an error is thrown and no updates are applied.
sourceraw docstring

enqueue-modulescljs

(enqueue-modules modules)
source

enqueue-modules-with-depscljs

(enqueue-modules-with-deps modules)
source

executecljs

(execute app txs)
source

execute-txscljs

(execute-txs txs)
source

execute-txs-1cljs

(execute-txs-1 {:moira.transition/keys [modules txs] :as ctx})
source

reverse-modulescljs

source

txcljs

(tx app txs ks)

Update modules defined in ks by applying the interceptor chain txs in the context of each module respectively. Returns a new application with updated module states.

Dependencies are not updated. :app-log is expected to be present already.

Update modules defined in `ks` by applying the interceptor chain `txs` in
the context of each module respectively. Returns a new application with
updated module states.

Dependencies are not updated. `:app-log` is expected to be present already.
sourceraw docstring

upcljs

(up app txs ks)

Elevate modules defined in ks and all their dependencies by applying the interceptor chain txs in the context of each module respectively. Returns a new application with updated module states.

Dependencies are guaranteed to be updated first. :app-log is injected, if not already present, and automatically added to each module's :deps. When a circular dependency is detected, an error is thrown and no updates are applied.

Elevate modules defined in `ks` and all their dependencies by applying the
interceptor chain `txs` in the context of each module respectively. Returns a
new application with updated module states.

Dependencies are guaranteed to be updated first. `:app-log` is injected, if
not already present, and automatically added to each module's `:deps`. When a
circular dependency is detected, an error is thrown and no updates are
applied.
sourceraw docstring

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

× close