getCurrentTraceContext
このコンテンツはまだ日本語訳がありません。
function getCurrentTraceContext(): | Readonly<{ span?: | Span<any> | null; trace: Trace;}> | null;Gets a public snapshot of the current trace context.
This intentionally does not expose the internal async storage shape.
Returns
Section titled “Returns”| Readonly<{
span?: | Span<any>
| null;
trace: Trace;
}>
| null