본문으로 건너뛰기

Variable: PluginRuntimeBridgeMessageBodySchema

const PluginRuntimeBridgeMessageBodySchema: TObject<{ message: TUnknown; workerEpoch: TInteger; workerId: TInteger; }>

Defined in: packages/contracts/src/pluginRuntime.ts:1096

BRIDGE_MESSAGE / HOST_BRIDGE_MESSAGE payload (both directions, Stage A/F). Carries an app-level worker bridge message that no runtime component decodes (§15.1): the receiving side narrows by message.kind (module-graph-loaded/error host-ward; event-push worker-ward). Identity fields in the frame header mirror the body.