Liking cljdoc? Tell your friends :D

sieppari.context


Contextclj/sprotocol

context?clj/s

(context? this)
source

injectclj/s

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

terminateclj/s

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

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

× close