Get the currently active context
Bind 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
Disable and remove the global context manager
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 receiver to be used for calling fn
optional arguments forwarded to fn
Get the singleton instance of the Context API
Generated using TypeDoc
Singleton object which represents the entry point to the OpenTelemetry Context API
1.0.0