API Reference
wireBridgeAckDriver()
D502 explicit graph-visible ack-timeout command driver for a wireBridge.
Import
import { wireBridgeAckDriver } from "@graphrefly/ts/adapters";
Signature
function wireBridgeAckDriver(
graph: Graph,
bridge: WireBridgeBundle<TOutbound, TInbound>,
opts: WireBridgeAckDriverOptions,
): WireBridgeAckDriverBundle
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
bridge | WireBridgeBundle<TOutbound, TInbound> | bridge value used by the helper. |
opts | WireBridgeAckDriverOptions | Options that configure the helper. |
Returns
A WireBridgeAckDriverBundle value.
Example
import { wireBridgeAckDriver } from "@graphrefly/ts/adapters";
Source
packages/ts/src/adapters/bridge.ts