Skip to content
PACKAGES

operators.pause

Kind: function

Source: src/graphrefly/operators/_gate.py:59

pause(g: Graph, src: Node[Any], locks: Node[Any], *, name: str | None = None)

Hold src’s arrays while locks’s value is a nonempty list and send them, each as it arrived, when it no longer is (O-pause, R-pause).

The behavior is the root’s operator contract: the operator contracts.