Starts a new Span and calls the given function passing it the created span as first argument. Additionally the new span gets set in context and this context is activated for the duration of the function call.
The name of the span
function called in the context of the span and receives the newly created span as an argument
return value of fn
Starts a new Span. Start the span without setting it on context.
This method do NOT modify the current Context.
The name of the span
Span The newly created span
Generated using TypeDoc
Tracer provides an interface for creating Spans.
1.0.0