BACK
ReferencewindowCount
Reference · 117

windowCount

windowCount

rxjs.dev

Creates fixed-size Observable windows.

Signature

windowCount(windowSize: number, startWindowEvery?: number): OperatorFunction>

What it does

Opens windows by value count. Unlike bufferCount, each window is handed out as an Observable.

When to use

Streaming batch processing without waiting for the full array in one place.

See also

bufferCount, window

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