operators.exhaust_map
operators.exhaust_map
Section titled “operators.exhaust_map”Kind: function
Source: src/graphrefly/operators/_higher_order.py:257
Signature
Section titled “Signature”exhaust_map(g: Graph, outer: Node[Any], project: Callable[[Any], Any], *, name: str | None = None, recipe: Recipe | None = None)Description
Section titled “Description”Project an outer value only when no inner is held, and ignore the outer values that arrive while one is (O-exhaustMap).
The behavior is the root’s operator contract: the operator contracts.