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.
raw docstring

*current-trace*clj/s


debounceclj/s

(debounce f interval)

debounce-timeclj/s


finish-traceclj/smacro

(finish-trace trace)

idclj/s


is-trace-enabled?clj/s

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

merge-trace!clj/smacro

(merge-trace! m)

next-deliveryclj/s


next-idclj/s

(next-id)

register-trace-cbclj/s

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

remove-trace-cbclj/s

(remove-trace-cb key)

reset-tracing!clj/s

(reset-tracing!)

run-tracing-callbacks!clj/s

(run-tracing-callbacks! now)

schedule-debounceclj/s


start-traceclj/s

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

trace-cbsclj/s


trace-enabled?clj/s


tracesclj/s


with-traceclj/smacro

(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
raw docstring

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

× close