ContextApiType
PackageAxial.Telemetry.JavaScript
The subset of the OpenTelemetry JS `context` api namespace this package calls.
Runs the function with the given context active. Cross-await propagation requires the
application's context manager (Node `AsyncLocalStorageContextManager`, browser `ZoneContextManager`).
Parameters
| Name | Type | Description |
|---|---|---|
| context | OtelContext | |
| operation | unit -> 'result |
Returns
'result

