Liking cljdoc? Tell your friends :D
Clojure only.

sieppari.context


injectclj

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

terminateclj

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

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

× close