(make-event-handler
{:keys [before on-return on-result on-throw after]
:or
{before i/nop on-return i/nop on-result i/nop on-throw i/nop after i/nop}})
Make a preflex.instrument.EventHandler instance from given options: :before (fn []) :on-return (fn []) :on-result (fn [result]) :on-throw (fn [thrown]) :after (fn [])
Make a preflex.instrument.EventHandler instance from given options: :before (fn []) :on-return (fn []) :on-result (fn [result]) :on-throw (fn [thrown]) :after (fn [])
(make-event-handler-factory f)
Given (fn [event]) -> EventHandler, create and return a preflex.instrument.EventHandlerFactory object.
Given (fn [event]) -> EventHandler, create and return a preflex.instrument.EventHandlerFactory object.
(make-wrapper f)
Given an instrumenting caller (fn [context (fn task [])]), return a preflex.instrument.task.Wrapper instance.
Given an instrumenting caller (fn [context (fn task [])]), return a preflex.instrument.task.Wrapper instance.
(wrap-proxy
f
object
class-and-interfaces
args
{:keys [method-pred] :or {method-pred i/public-method?} :as options})
Given an instrumenting caller (fn [context (fn task [])), a target object and proxy class/interfaces and constructor args, return an instrumented proxy.
Given an instrumenting caller (fn [context (fn task [])), a target object and proxy class/interfaces and constructor args, return an instrumented proxy.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close