GraphReFlyTS

API Reference

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

import { settle } from "@graphrefly/ts/operators";

Signature

function settle(opts: SettleOpts<S>): Operator<S, S>

Parameters

ParameterTypeDescription
optsSettleOpts<S>Options that configure the helper.

Returns

A Operator<S, S> value.

Example

import { settle } from "@graphrefly/ts/operators";

Source

packages/ts/src/graph/operators.ts