Public API for creating interceptors, and various utility fns for common interceptor creation patterns.
Public API for creating interceptors, and various utility fns for common interceptor creation patterns.
(interceptor t)
Given a value, produces and returns an Interceptor (Record).
Given a value, produces and returns an Interceptor (Record).
(interceptor-name n)
Ensures that an interceptor name (to eventually be the :name key of an Interceptor) is either a keyword or nil. Generally, interceptor names should be namespace-qualified keywords.
Ensures that an interceptor name (to eventually be the :name key of an Interceptor) is either a keyword or nil. Generally, interceptor names should be namespace-qualified keywords.
(interceptor? o)
Returns true if object o is an instance of the Interceptor record; the result of
invoking interceptor
.
Returns true if object o is an instance of the Interceptor record; the result of invoking [[interceptor]].
Conversion into Interceptor, ready for execution as part of an interceptor chain.
Conversion into Interceptor, ready for execution as part of an interceptor chain.
(-interceptor t)
Given a value, produce an Interceptor Record.
Given a value, produce an Interceptor Record.
(valid-interceptor? o)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close