Skip to content

setCurrentSpan

function setCurrentSpan(span): void

This function will set the current span in the execution context.

Parameter Type Description

span

Span<any>

The span to set as the current span.

void