Keeps the reference to current context
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 the current context)
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 window. The context will be set as active
Callback function
optional receiver to be used for calling fn
optional arguments forwarded to fn
Generated using TypeDoc
Stack Context Manager for managing the state in web it doesn't fully support the async calls though