Skip to content

dispatchTrace

function dispatchTrace(trace): Promise<void>;

Dispatch a completed trace lifecycle to all processors registered on the global tracing provider.

This bypasses Trace.start() and Trace.end(), so callers can replay a completed lifecycle without mutating the trace state.

Parameter Type

trace

Trace

Promise<void>