Liking cljdoc? Tell your friends :D

day8.re-frame.async-flow-fx


dissoc-incljs

(dissoc-in m [k & ks :as keys])

Dissociates an entry from a nested associative structure returning a new nested structure. keys is a sequence of keys. Any empty maps that result will not be present in the new structure. The key thing is that 'm' remains identical? to itself if the path was never present

Dissociates an entry from a nested associative structure returning a new
nested structure. keys is a sequence of keys. Any empty maps that result
will not be present in the new structure.
The key thing is that 'm' remains identical? to itself if the path was never present
sourceraw docstring

flow->handlercljs

(flow->handler flow)

Action the given flow effect

Action the given flow effect
sourceraw docstring

make-flow-event-handlercljs

(make-flow-event-handler {:keys [id db-path rules first-dispatch]})

Given a flow definition, returns an event handler which implements this definition

Given a flow definition, returns an event handler which implements this definition
sourceraw docstring

map-when->fncljs

source

massage-rulescljs

(massage-rules rules)

Massage the supplied rules as follows:

  • replace :when keyword value with a function implementing the predicate
  • ensure that only one of :dispatch, :dispatch-n or :dispatch-fn is provided
  • add a unique :id, if one not already present
Massage the supplied rules as follows:
- replace `:when` keyword value with a function implementing the predicate
- ensure that only one of `:dispatch`, `:dispatch-n` or `:dispatch-fn` is provided
- add a unique :id, if one not already present
sourceraw docstring

seen-all-of?cljs

(seen-all-of? required-events seen-events)
source

seen-any-of?cljs

(seen-any-of? required-events seen-events)
source

startable-rulescljs

(startable-rules rules now-seen-events rules-fired)

Given the accumulated set of seen events and the set of rules already started, return the list of rules which should now be started

Given the accumulated set of seen events and the set of rules already started,
return the list of rules which should now be started
sourceraw docstring

when->fncljs

(when->fn when-kw)
source

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

× close