InstrumentedEvent<EM extends EventMapBase = EventMapBase>
interfaceA single observed event delivered to an InstrumentationObserver.
Type parameters
| Name | Type | Description |
|---|---|---|
EM | extends EventMapBase | Event map. |
Properties
| Name | Type | Description |
|---|---|---|
changedPaths | string[] | 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. |
committed | boolean | true 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. |
nextValues | Record<string, unknown> | New value at each changed path, keyed by path. |
prevValues | Record<string, unknown> | Old value at each changed path, keyed by path. |
reduceTimeMs | number | Wall-clock milliseconds spent in the synchronous reduce phase for this event. |