API reference › @evolu/common › Task › RunEvent
Defined in: packages/common/src/Task.ts:1950
Event emitted by a Run for monitoring and debugging.
Events bubble through parent Runs, so monitoring can be attached at a root Run. Event emission is controlled by RunConfig.eventsEnabled.
Properties
data
readonly data: RunEventData;
Defined in: packages/common/src/Task.ts:1958
The event-specific payload.
id
readonly id: string & Brand<"Id">;
Defined in: packages/common/src/Task.ts:1952
The id of the Run that emitted the event.
timestamp
readonly timestamp: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;
Defined in: packages/common/src/Task.ts:1955
The event timestamp from the root Run's Time dependency.