An Interceptor, all methods are optional but should be implemented as follows:
::intc/enter
takes 1 or 2 args:
::intc/leave
– takes 1 or 2 args:
::intc/error
– takes two args
All methods may return either promises or plain values.
An Interceptor, all methods are optional but should be implemented as follows: * `::intc/enter` takes 1 or 2 args: - context -> context - context -> data -> context * `::intc/leave` – takes 1 or 2 args: - context -> context - context -> data -> context * `::intc/error` – takes two args - context -> error -> context All methods may return either promises or plain values.
the interceptor chain is created with a list of InterceptorSpecs. each InterceptorSpec is either
::intc/key
providing data like this allows a pure-data (in the re-frame sense - roughly something which has no opaque objects and is serializable/deserializable) interceptor chain to be registered, which has numerous benefits
the interceptor chain is created with a list of InterceptorSpecs. each InterceptorSpec is either - simple keyword, referencing a registered interceptor which will cause ::intc/enter and ::intc/leave fns to be invoked with 1-arity, or - a map with mandatory `::intc/key` providing data like this allows a pure-data (in the re-frame sense - roughly something which has no opaque objects and is serializable/deserializable) interceptor chain to be registered, which has numerous benefits
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close