Functions to install and uninstall
tracers (add-tracer!
, remove-tracer!
, and primitives and
utilities to implement new tracers.
Functions to install and uninstall tracers ([[add-tracer!]], [[remove-tracer!]], and primitives and utilities to implement new tracers.
(add-tracer! tracer)
(add-tracer! id tracer)
Installs the given tracer under the given id (which replaces a previous tracer associated with the same id). If no id is specified, the tracer itself serves as its id.
Installs the given tracer under the given id (which replaces a previous tracer associated with the same id). If no id is specified, the tracer itself serves as its id.
The update cycle started with a send-message or
render-component came to an end, resulting in the given new global
app-state
and a sequence of tuples of a component
and its new
local-state
.
The update cycle started with a send-message or render-component came to an end, resulting in the given new global `app-state` and a sequence of tuples of a `component` and its new `local-state`.
(component-class-name comp)
Returns the name of the class the given component was instantiated from.
Returns the name of the class the given component was instantiated from.
(component-id comp)
Assigns and returns a unique id for each unique component comp
.
Assigns and returns a unique id for each unique component `comp`.
The component
had an action reducer attached, which
transformed the given action
into the given returned
.
The `component` had an action reducer attached, which transformed the given `action` into the given `returned`.
(remove-tracer! id)
Uninstalls the tracer previously installed under the given id.
Uninstalls the tracer previously installed under the given id.
The given component
is being rendered.
The given `component` is being rendered.
The given component
returned ret
from handling a
message or the livecycle method from
. This marks the beginning of an update
cycle.
The given `component` returned `ret` from handling a message or the livecycle method `from`. This marks the beginning of an update cycle.
The given component
was sent the given message
The given `component` was sent the given `message`
(tracer initial-state tracer-map)
Creates a stateful tracer with an initial state and a map
associating functions to one or more available
traces (send-message-trace
, commit-trace
etc.).
Creates a stateful tracer with an initial state and a map associating functions to one or more available traces ([[send-message-trace]], [[commit-trace]] etc.).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close