Execute the callback fn function with the passed span as the active span
Note: The callback will be executed even if the span is null.
The current trace host instance (core or AISKU instance)
The span to set as the active span during the execution of the callback
the callback function
OptionalthisArg: ThisParameterType<F>the this argument for the callback. If not provided, ISpanScope is used as this
Rest..._args: AAdditional arguments to be passed to the function
Execute the callback
fnfunction with the passed span as the active span Note: The callback will be executed even if the span is null.Param: traceHost
The current trace host instance (core or AISKU instance)
Param: span
The span to set as the active span during the execution of the callback
Param: fn
the callback function
Param: thisArg
the
thisargument for the callback. If not provided, ISpanScope is used asthisReturns
the result of the function