ใ‚ณใƒณใƒ†ใƒณใƒ„ใซใ‚นใ‚ญใƒƒใƒ—

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