(handle event-v)
Given an event vector, look up the associated intercepter chain, and execute it.
Given an event vector, look up the associated intercepter chain, and execute it.
(register id interceptors)
Associate the given event id
with the given collection of interceptors
.
interceptors
may contain nested collections and there may be nils
at any level,so process this structure into a simple, nil-less vector
before registration.
An event handler
will likely be at the end of the chain (wrapped in an interceptor).
Associate the given event `id` with the given collection of `interceptors`. `interceptors` may contain nested collections and there may be nils at any level,so process this structure into a simple, nil-less vector before registration. An `event handler` will likely be at the end of the chain (wrapped in an interceptor).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close