setCurrentSpan
function setCurrentSpan(span): void;This function will set the current span in the execution context.
Parameters
Section titled “Parameters”| Parameter | Type | Description | 
|---|---|---|
| 
 | 
 | The span to set as the current span. | 
Returns
Section titled “Returns”void