Type Alias: RpcRequestId
RpcRequestId =
string
Defined in: Extensions/RpcEnvelope.ts:14
RPC envelope shared by the host (main process), each extension worker
(utilityProcess), and each UI iframe (ext-ui://).
Spec A §"RPC envelope". The router on each side validates the envelope
shape, rejects malformed messages with an RpcProtocolError, and never
lets a malformed message reach business logic.
All payloads MUST be JSON-serializable. No class instances, no functions,
no circular references — the same envelope travels over MessageChannelMain
(host ↔ worker) and postMessage (renderer ↔ iframe).