BACK
ReferencewindowTime
Reference · 118

windowTime

windowTime

rxjs.dev

Creates Observable windows by time.

Signature

windowTime(windowTimeSpan: number): OperatorFunction>

What it does

Opens time windows and emits each as an Observable. Source values land in the active window.

When to use

Streaming event processing by time intervals: live analytics, telemetry, batching without arrays.

See also

bufferTime, window

script.ts // TypeScript
CONSOLE · Console output
Hit Run to see the result...