(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
(flow->handler flow)
Action the given flow effect
Action the given flow effect
(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
(massage-rules rules)
Massage the supplied rules as follows:
:when
keyword value with a function implementing the predicate:dispatch
, :dispatch-n
or :dispatch-fn
is providedMassage 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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close