spanForRunEvent
@forge/monorepo / backend/src / spanForRunEvent
Function: spanForRunEvent()
spanForRunEvent(
type):string|null
Defined in: backend/src/telemetry/spans.ts:99
The span a run event belongs to.
A function rather than direct map access, so a caller holding a RunEventType from a store — where the type
is a string at runtime — cannot index into undefined and produce a span named "undefined".
Parameters
type
string
Returns
string | null