Skip to content

SpanHandle

A timing span opened with Platform.span; call SpanHandle.close to end it.

readonly spanId: string;

The span’s unique id, usable as a parent for nested spans.

close(): void;

End the span and report its duration.

void