An event handler is a function of Event -> Result
where a Result
is an arbitrary value.
An event handler is a function of `Event -> Result` where a `Result` is an arbitrary value.
(handled? result)
True if the given result
of a handlers execution indicates that the event
was handled (i.e. not skipped) by the handler.
True if the given `result` of a handlers execution indicates that the event was handled (i.e. not skipped) by the handler.
(skip)
Return the result of (skip)
from a handler function to indicate that the
event was skipped by the handler.
This is effectively a signal to outer handler middleware to skip any unnecessary work.
Return the result of `(skip)` from a handler function to indicate that the event was skipped by the handler. This is effectively a signal to outer handler middleware to skip any unnecessary work.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close