wireBridgeProtobuf()
D498 focused canonical protobuf byte adapter over an existing semantic wireBridge bundle.
This helper owns no transport/session/retry policy and does not add wireBridge core options. Malformed bytes become graph-visible issue/invalid facts, never local protocol terminals.
Import
Section titled “Import”import { wireBridgeProtobuf } from "@graphrefly/ts/adapters";Signature
Section titled “Signature”function wireBridgeProtobuf( graph: Graph, bridge: WireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>, opts: WireBridgeProtobufOptions = {},): WireBridgeProtobufBundleParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
bridge | WireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData> | bridge value used by the helper. |
opts | WireBridgeProtobufOptions | Options that configure the helper. |
Returns
Section titled “Returns”A WireBridgeProtobufBundle value.
Example
Section titled “Example”import { wireBridgeProtobuf } from "@graphrefly/ts/adapters";Source
Section titled “Source”packages/ts/src/adapters/bridge.ts