Returns the active context
Binds a the certain context or the active one to the target function and then returns the target
A context (span) to be bind to target
a function or event emitter. When target or one of its callbacks is called, the provided context will be used as the active context for the duration of the call.
Disable the context manager (clears all the contexts)
Enables the context manager and creates a default(root) context
Calls the callback function [fn] with the provided [context]. If [context] is undefined then it will use the active context. The context will be set as active
ZoneContextManager This module provides an easy functionality for tracing action between asynchronous operations in web. It was not possible with standard [StackContextManager]https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-sdk-trace-web/src/StackContextManager.ts. It heavily depends on [zone.js]https://www.npmjs.com/package/zone.js. It stores the information about context in zone. Each Context will have always new Zone; It also supports binding a certain Span to a target that has "addEventListener" and "removeEventListener". When this happens a new zone is being created and the provided Span is being assigned to this zone.