operators.tap
operators.tap
Section titled “operators.tap”Kind: function
Source: src/graphrefly/operators/_transform.py:89
Signature
Section titled “Signature”tap(g: Graph, src: Node[Any], f: Callable[[Any], Any], *, name: str | None = None, recipe: Recipe | None = None)Description
Section titled “Description”Call f(v) once for every DATA and send the DATA on unchanged; what f returns
is not read (O-tap).
The behavior is the root’s operator contract: the operator contracts.