BridgeEnvelope
Defined in: packages/client/src/worker/protocol.ts:53
The wire envelope. payload is the codec-encoded body — opaque to the router, which only routes on
type and correlates on id. Keeping the body opaque is what lets a future codec return a columnar
buffer (a transferable) in payload without any change to routing.
Properties
Section titled “Properties”ch:
"pgxsinkit-bridge"
Defined in: packages/client/src/worker/protocol.ts:54
optionalid?:string
Defined in: packages/client/src/worker/protocol.ts:58
Correlation id for request/response pairs (rpc, subscribe, token pull). Absent for fire-and-forget fanout.
payload
Section titled “payload”payload:
unknown
Defined in: packages/client/src/worker/protocol.ts:60
Codec-encoded body — opaque to the router; decode with the same BridgeCodec.
type:
BridgeMessageType
Defined in: packages/client/src/worker/protocol.ts:56
v:
1
Defined in: packages/client/src/worker/protocol.ts:55