RequestState
interfaceextends BaseMessage
Request a full state snapshot from a store.
Sent by an extension to the hub, which forwards it to the targeted
store. The store responds with a
StateSnapshot. An optional
version field can request a specific historical snapshot when
the store supports it.Properties
| Name | Type | Description |
|---|---|---|
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 | "REQUEST_STATE" | Discriminant field identifying the message type. |
version? | number | Optional: request a specific snapshot version. |