@somnia-chain/markets-sdk / index / Span
Interface: Span
Defined in: packages/sdk/src/debug.ts:115
Handle for an open span, passed to the span/traced callback so a call
site can parent a nested span explicitly or annotate it mid-flight.
Properties
id
readonlyid:number
Defined in: packages/sdk/src/debug.ts:120
The span's event id — 0 when debugging is disabled (an inert handle:
no event was emitted for it, and annotating it is a no-op).
name
readonlyname:string
Defined in: packages/sdk/src/debug.ts:122
The name the span was started with (empty on the inert disabled handle).