Liking cljdoc? Tell your friends :D

re-frame.trace

Tracing for re-frame. Alpha quality, subject to change/break at any time.

Tracing for re-frame.
Alpha quality, subject to change/break at any time.

*current-trace*

source

debounce

(debounce f interval)
source

debounce-time

source

finish-tracemacro

(finish-trace trace)
source

is-trace-enabled?

(is-trace-enabled?)
See https://groups.google.com/d/msg/clojurescript/jk43kmYiMhA/IHglVr_TPdgJ for more details
sourceraw docstring

merge-trace!macro

(merge-trace! m)
source

next-delivery

source

next-id

(next-id)
source

register-trace-cb

(register-trace-cb key f)

Registers a tracing callback function which will receive a collection of one or more traces. Will replace an existing callback function if it shares the same key.

Registers a tracing callback function which will receive a collection of one or more traces.
Will replace an existing callback function if it shares the same key.
sourceraw docstring

remove-trace-cb

(remove-trace-cb key)
source

reset-tracing!

(reset-tracing!)
source

run-tracing-callbacks!

(run-tracing-callbacks! now)
source

schedule-debounce

source

start-trace

(start-trace {:keys [operation op-type tags child-of]})
source

trace-cbs

source

traces

source

with-tracemacro

(with-trace {:keys [operation op-type tags child-of], :as trace-opts}
            &
            body)

Create a trace inside the scope of the with-trace macro

Common keys for trace-opts :op-type - what kind of operation is this? e.g. :sub/create, :render. :operation - identifier for the operation, for a subscription it would be the subscription keyword :tags - a map of arbitrary kv pairs

Create a trace inside the scope of the with-trace macro

Common keys for trace-opts
:op-type - what kind of operation is this? e.g. :sub/create, :render.
:operation - identifier for the operation, for a subscription it would be the subscription keyword
:tags - a map of arbitrary kv pairs
sourceraw docstring

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

× close