InstrumentedEvent<EM extends EventMapBase = EventMapBase>

interface
types.ts:329

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; meta?: Readonly<Record<string, unknown>>; payload: unknown; type: string }The processed event, including its id and any EventMeta the emitter attached. meta is absent unless it was supplied.
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.
rejected?RejectionPresent when a reducer refused the write, carrying its reason.