Liking cljdoc? Tell your friends :D

space.matterandvoid.subscriptions.impl.trace

Tracing copied from re-frame.

Tracing copied from re-frame.
raw docstring

*current-trace*clj/s

source

debounceclj/s

(debounce f interval)
source

debounce-timeclj/s

source

finish-traceclj/smacro

(finish-trace trace)
source

idclj/s

source

is-trace-enabled?clj/s

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

merge-trace!clj/smacro

(merge-trace! m)
source

next-deliveryclj/s

source

next-idclj/s

(next-id)
source

nowclj/s

(now)
source

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

remove-trace-cbclj/s

(remove-trace-cb key)
source

reset-tracing!clj/s

(reset-tracing!)
source

run-tracing-callbacks!clj/s

(run-tracing-callbacks! now)
source

schedule-debounceclj/s

source

start-traceclj/s

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

trace-cbsclj/s

source

trace-enabled?clj/s

source (clj)source (cljs)

tracesclj/s

source

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

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

× close