Context manager interface
The context manager is responsible for managing the context and propagating it across the application.
Returns the active context
Creates a new context from a serialized version effectively linking the new context to the parent context.
the current active context
the serialized version of the context
Returns a serialized version of the current context. The metadata is the mechanism used to propagate the context across a distributed application.
the current context
Creates a new context and sets it as active for the fn passed as last argument
the context to set as active
the function to execute with the context
Context manager interface
The context manager is responsible for managing the context and propagating it across the application.