Skip to content
PACKAGES

frame_source

Kind: function

Source: src/graphrefly/_wire_facade.py:145

frame_source(graph: Graph, open: Callable[[Callable[[object], None]], Callable[[], object] | None], *, name: str | None = None)

The receiving end of a transport, as a node with no dependencies.

Its default local name is frameSource with a numeric suffix when occupied.

At each activation it calls open(deliver), and what that returns is called when the lifetime closes. Each deliver(frame) on the graph’s owner thread is one wave; a transport on another thread re-enters through Graph.reentry_queue.