Skip to content
PACKAGES

operators.buffer_time

Kind: function

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

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

Collect the source’s DATA in windows of ms milliseconds that follow one another from the activation, and send each nonempty window as one list (O-bufferTime, https://github.com/graphrefly/graphrefly/blob/main/operators/README.md).

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