Skip to content

identityCodec

const identityCodec: BridgeCodec

Defined in: packages/client/src/worker/protocol.ts:522

The identity codec, wire-format version 1 (BRIDGE_PROTOCOL_VERSION): the body IS the payload, and the transport’s structured clone does the real copying. No transferables. The sole codec at this wire version — swapping in a columnar codec later touches only this object, never the message types or the router.