Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(debounce): fix marble diagram #6639

Conversation

jakovljevic-mladen
Copy link
Member

Description:
Fix the marble diagram for debounce operator so that it now shows that debounce acts when a notifying (inner) Observable emits next notification instead of a complete notification.

The new image looks like this:
New debounce marble diagram image

Related issue (if exists):
#6627


const result = e1.pipe(debounce(() => e2));

expectObservable(result).toBe(expected);
expectSubscriptions(e1.subscriptions).toBe(e1subs);
expectSubscriptions(e2.subscriptions).toBe(e2subs);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice.

@benlesh benlesh added 7.x Issues and PRs for version 6.x 8.x Issues and PRs for version 8.x labels Oct 20, 2021
Copy link
Member

@niklas-wortmann niklas-wortmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks a lot for picking up the work of converting the marble diagrams over to SVG. I very much appreciate it.

@niklas-wortmann niklas-wortmann merged commit f5c9b41 into ReactiveX:master Oct 21, 2021
@jakovljevic-mladen jakovljevic-mladen deleted the fix_debounce_marble_diagram branch October 21, 2021 07:13
@jakovljevic-mladen
Copy link
Member Author

@niklas-wortmann Thank you for taking your time to review PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.x Issues and PRs for version 6.x 8.x Issues and PRs for version 8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants