Skip to content

Interface: CommandMessage

Defined in: devtools/src/protocol.ts:44

Extension → Page: a command asking the runtime to do something. The runtime replies asynchronously via another state-update or a command-result — the extension correlates by requestId.

readonly source: "plasma-devtools"

Defined in: devtools/src/protocol.ts:45


readonly type: "command"

Defined in: devtools/src/protocol.ts:46


readonly requestId: string

Defined in: devtools/src/protocol.ts:47


readonly command: "flush" | "pull" | "reset-local-state" | "ping"

Defined in: devtools/src/protocol.ts:48