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`.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |