operators.last
operators.last
Section titled “operators.last”Kind: function
Source: src/graphrefly/operators/_select.py:220
Signature
Section titled “Signature”last(g: Graph, src: Node[Any], p: Predicate | None = None, *, name: str | None = None, recipe: Recipe | None = None)Description
Section titled “Description”Send the last DATA, or the last for which p held, with COMPLETE in one array when
src completes; p is called for every DATA as it comes (O-last).
The behavior is the root’s operator contract: the operator contracts.