(act act-handler)
(action bindings & rest)
(execute this context)
(choose & options)
(create-plan & {:keys [steps] :or {steps []}})
(create-ruleset & fragments)
(defruleset name & forms)
(determine-plans ruleset event context)
(execute-plan plan context)
(execute-plans plans context)
(from-channel event-channel & event-rules)
(from-channels event-channels & event-rules)
(gather gather-handler)
(gatherer bindings & rest)
(add-context-to this context)
(on rule-matching-fn & handlers)
(on-complement-of matcher)
Takes a matcher and returns a matcher that matches its complement.
Examples:
(on-complement-of (on-type :do-not-match))
will match all types that
are not :do-not-match
(on-complement-of (on-types [:do-not-match-1 :do-not-match-2]))
will
match all types that are not :do-not-match-1
or :do-not-match-2
(on-complement-of (on :do-not-process))
will match all events that
have a falsy property :do-not-process
Takes a matcher and returns a matcher that matches its complement. Examples: - `(on-complement-of (on-type :do-not-match))` will match all types that are not `:do-not-match` - `(on-complement-of (on-types [:do-not-match-1 :do-not-match-2]))` will match all types that are not `:do-not-match-1` or `:do-not-match-2` - `(on-complement-of (on :do-not-process))` will match all events that have a falsy property `:do-not-process`
(on-every & handlers)
(on-type event-type & handlers)
(on-types event-types & handlers)
(option selector & handlers)
(options & {:as options})
(react-to ruleset event context)
(selects? this context)
(selector bindings & rest)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close