Skip to content
PACKAGES

operators.debounce

Kind: function

Source: src/graphrefly/operators/_time.py:379

debounce(g: Graph, src: Node[Any], ms: int, *, name: str | None = None)

Send the latest DATA once ms milliseconds passed without another (O-debounce).

The source’s COMPLETE sends a pending value at once, with the terminal; its ERROR and its INVALIDATE drop it. See https://github.com/graphrefly/graphrefly/blob/main/operators/README.md.

The behavior is the root’s operator contract: the operator contracts.