EmitEvent
Interface: EmitEvent
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:69
Event delivered to EmitRecorder.onEmit.
Name + payload are consumer-supplied via scope.$emit(name, payload).
Everything else is library-enriched at dispatch time from the current
stage's execution context.
Properties
name
readonlyname:string
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:76
Consumer-supplied event name. Convention: hierarchical dotted namespace
(e.g. 'agentfootprint.llm.tokens', 'myapp.billing.spend'). Keeps
vocabularies collision-free across libraries/apps without requiring a
central registry.
payload
readonlypayload:unknown
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:84
Consumer-supplied payload. Shape is up to the consumer and their
convention; library treats it as opaque and passes through unchanged
(modulo redaction — see RedactionPolicy.emitPatterns).
When redacted, replaced with the string '[REDACTED]'.
pipelineId
readonlypipelineId:string
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:100
Pipeline/run identifier (matches RecorderContext.pipelineId).
runtimeStageId
readonlyruntimeStageId:string
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:91
Unique per-execution-step identifier — the same value recorder events
and commit-log entries carry. See runtimeStageId.ts for format.
stageName
readonlystageName:string
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:86
Name of the stage that emitted this event.
subflowPath
readonlysubflowPath: readonlystring[]
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:98
Subflow path from the outermost parent down to the subflow that emitted
this event. Empty array when the emit came from the root flowchart.
Matches the convention used by FlowPauseEvent.subflowPath,
FlowchartCheckpoint.subflowPath, etc.
timestamp
readonlytimestamp:number
Defined in: node_modules/footprintjs/dist/types/lib/recorder/EmitRecorder.d.ts:102
Emission timestamp in milliseconds since epoch (Date.now()).
