Liking cljdoc? Tell your friends :D
Clojure only.

steffan-westcott.clj-otel.api.trace.task-span

Macros for creating spans around Missionary tasks. To use this namespace, add dependency missionary/missionary.

Macros for creating spans around Missionary tasks. To use this namespace,
add dependency `missionary/missionary`.
raw docstring

task-span-bindingcljmacro

(task-span-binding [context span-opts] & body)

Asynchronously starts a new span, binds context to the new context containing the span and evaluates body which is expected have a task value. The span is ended when the body task yields a value. Returns a task that yields the same value.

Asynchronously starts a new span, binds `context` to the new context
containing the span and evaluates `body` which is expected have a task
value. The span is ended when the `body` task yields a value. Returns a
task that yields the same value.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close