settle()
settle: forward each DATA unchanged, watch for convergence, COMPLETE once the source has been
quiet for quietWaves consecutive waves (or maxWaves elapsed). “Wave” = one fn invocation
(a DATA batch OR a bare undirty RESOLVED end-of-wave). No polling (R-no-polling) — the counter
advances only on real upstream waves. settle’s own equals is a body comparator, NOT the
removed substrate equals (D49).
Import
Section titled “Import”import { settle } from "@graphrefly/ts/operators";Signature
Section titled “Signature”function settle(opts: SettleOpts<S>): Operator<S, S>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | SettleOpts<S> | Options that configure the helper. |
Returns
Section titled “Returns”A Operator<S, S> value.
Example
Section titled “Example”import { settle } from "@graphrefly/ts/operators";Source
Section titled “Source”packages/ts/src/graph/operators.ts