(inject ctx interceptor-or-interceptors)
Adds interceptor or seq of interceptors to the head of context's execution queue. Creates the queue if necessary. Returns updated context.
Adds interceptor or seq of interceptors to the head of context's execution queue. Creates the queue if necessary. Returns updated context.
(terminate ctx)
(terminate ctx response)
Removes all remaining interceptors from context's execution queue. This effectively short-circuits execution of Interceptors' :enter functions and begins executing the :leave functions. Two arity version allows setting the response at the same call.
Removes all remaining interceptors from context's execution queue. This effectively short-circuits execution of Interceptors' :enter functions and begins executing the :leave functions. Two arity version allows setting the response at the same call.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close