EventReplay
interfaceextends BaseMessage
Replay events from a snapshot through reducers only.
Unlike
TimeTravel, this re-processes events through the
store's reducers without triggering effects or middleware. Useful
for debugging reducer logic in isolation. Requires
replay on the store and
eventReplay on the extension.Properties
| Name | Type | Description |
|---|---|---|
events | { channel: string; id: string; payload: unknown; type: string }[] | Events to replay in order. |
snapshot | unknown | Starting state to apply before replaying. |
sourceId | string | UUID of the sender (store wrapper ID or extension ID). |
sourceRole | DevtoolsRole | Role of the sender. |
storeId | string | |
timestamp | string | ISO 8601 timestamp of when the message was created. |
type | "EVENT_REPLAY" | Discriminant field identifying the message type. |