InstrumentedEvent<EM extends EventMapBase = EventMapBase>

interface
types.ts:166

A single observed event delivered to an InstrumentationObserver.

Type parameters

NameTypeDescription
EMextends EventMapBaseEvent map.

Properties

NameTypeDescription
changedPathsstring[]Dotted **leaf** paths that changed, prefixed with the slice name (e.g. "todos.items.0.title"). Empty when nothing changed. These are the exact paths the store computed while reducing — no re-diff required.
committedbooleantrue if the event passed middleware and ran reducers; false if vetoed.
event{ channel: string; id: string; payload: unknown; type: string }The processed event, including its generated id.
nextValuesRecord<string, unknown>New value at each changed path, keyed by path.
prevValuesRecord<string, unknown>Old value at each changed path, keyed by path.
reduceTimeMsnumberWall-clock milliseconds spent in the synchronous reduce phase for this event.