Skip to content
PACKAGES

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 { wireBridgeProtobuf } from "@graphrefly/ts/adapters";
function wireBridgeProtobuf(
graph: Graph,
bridge: WireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>,
opts: WireBridgeProtobufOptions = {},
): WireBridgeProtobufBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
bridgeWireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>bridge value used by the helper.
optsWireBridgeProtobufOptionsOptions that configure the helper.

A WireBridgeProtobufBundle value.

import { wireBridgeProtobuf } from "@graphrefly/ts/adapters";

packages/ts/src/adapters/bridge.ts