operators.sample
operators.sample
Section titled “operators.sample”Kind: function
Source: src/graphrefly/operators/_notifier.py:141
Signature
Section titled “Signature”sample(g: Graph, src: Node[Any], notifier: Node[Any], *, name: str | None = None)Description
Section titled “Description”At each DATA of notifier, send the value src delivered last since the previous
one, once (O-sample).
The behavior is the root’s operator contract: the operator contracts.