Liking cljdoc? Tell your friends :D

preflex.task


make-event-handlerclj

(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 [])
sourceraw docstring

make-event-handler-factoryclj

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

make-wrapperclj

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

wrap-proxyclj/smacro

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

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

× close