Liking cljdoc? Tell your friends :D

vent.core


actclj

(act act-handler)

actioncljmacro

(action bindings & rest)

Actioncljprotocol

executeclj

(execute this context)

chooseclj

(choose & options)

create-planclj

(create-plan & {:keys [steps] :or {steps []}})

create-rulesetclj

(create-ruleset & fragments)

defrulesetcljmacro

(defruleset name & forms)

determine-plansclj

(determine-plans ruleset event context)

execute-planclj

(execute-plan plan context)

execute-plansclj

(execute-plans plans context)

from-channelclj

(from-channel event-channel & event-rules)

from-channelsclj

(from-channels event-channels & event-rules)

gatherclj

(gather gather-handler)

gatherercljmacro

(gatherer bindings & rest)

Gatherercljprotocol

add-context-toclj

(add-context-to this context)

onclj

(on rule-matching-fn & handlers)

on-complement-ofclj

(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`
raw docstring

on-everyclj

(on-every & handlers)

on-typeclj

(on-type event-type & handlers)

on-typesclj

(on-types event-types & handlers)

optionclj

(option selector & handlers)

optionsclj

(options & {:as options})

react-toclj

(react-to ruleset event context)

Selectorcljprotocol

selects?clj

(selects? this context)

selectorcljmacro

(selector bindings & rest)

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

× close