RequestState

interface
messages.ts:231

extends 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

NameTypeDescription
sourceIdstringUUID of the sender (store wrapper ID or extension ID).
sourceRoleDevtoolsRoleRole of the sender.
storeIdstring
timestampstringISO 8601 timestamp of when the message was created.
type"REQUEST_STATE"Discriminant field identifying the message type.
version?numberOptional: request a specific snapshot version.