Skip to content

getCurrentSpan

function getCurrentSpan(): null | Span<any>

This function will get the current span from the execution context.

null | Span<any>

The current span or null if there is no span.