Open
Description
Describe the bug
The buffer
operator emits the empty value on closingNotifier
completes.
Expected behavior
No value emitted on closingNotifier
completes.
Reproduction code
import { fromEvent, interval, buffer, takeUntil, debounceTime } from 'rxjs';
const addItem = fromEvent(document, 'click').pipe(takeUntil(interval(5000)));
const debounce = addItem.pipe(debounceTime(500));
addItem.pipe(buffer(debounce)).subscribe((d) => console.log(d));
Reproduction URL
https://stackblitz.com/edit/rwbsk1a8?devtoolsheight=50&file=index.ts
Version
7.8.1
Environment
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels