Private constructorEmpty private constructor prevents end users from constructing a new instance of the API
Private _getStatic Private Optional _instanceBind a context to a target function or event emitter
context to bind to the event emitter or function. Defaults to the currently active context
function or event emitter to bind
Set the current context manager.
true if the context manager was successfully registered, else false
Execute a function with an active context
context to be active during function execution
function to execute in a context
Optional thisArg: ThisParameterType<F>optional receiver to be used for calling fn
Optional Rest ...args: Aoptional arguments forwarded to fn
Rest Static getGet the singleton instance of the Context API
Generated using TypeDoc
Singleton object which represents the entry point to the OpenTelemetry Context API