Skip to content
PACKAGES

operators.race

Kind: function

Source: src/graphrefly/operators/_combine.py:232

race(g: Graph, inputs: Sequence[Node[Any]], *, name: str | None = None)

Select the first input to deliver DATA or a terminal, the first in declared order within a wave, and follow it alone: its arrays and its terminal (O-race).

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