Activate a span in the scope of a function.
The span to activate.
Function that will have the span activated on its scope.
The return value of the provided function.
Get the current active span or null if there is none.
The active span.
Binds a target to the provided span, or the active span if omitted.
The bound target.
Generated using TypeDoc
The Datadog Scope Manager. This is used for context propagation.