wire_bridge
wire_bridge
Section titled “wire_bridge”Kind: function
Source: src/graphrefly/_wire_facade.py:291
Signature
Section titled “Signature”wire_bridge(graph: Graph, *, session_id: str, outbound: Iterable[Node[Any]] = (), received: Node[bytes] | None = None, max_attempts: int = 2, name: str | None = None)Description
Section titled “Description”Build a wire bridge over outbound nodes and a received byte source.
Its default prefix is wireBridge with a numeric suffix when occupied.
Output roles use slash paths, such as wireBridge/events.
Each frame (or bytes value) an outbound node sends becomes a numbered DATA envelope,
pending until the peer acks it; an ack-timeout fact for its pending attempt sends it
again with the next attempt until max_attempts, when it is exhausted and
reported. Each received DATA envelope is acked and its frame or value comes out of
frames or values. Malformed bytes and facts are issues, not terminals.