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

bug(partition): Subscribes to the source twice, when it should probably multicast #5731

Open
benlesh opened this issue Sep 15, 2020 · 3 comments
Labels
bug Confirmed bug

Comments

@benlesh
Copy link
Member

benlesh commented Sep 15, 2020

Currently partition will subscribe to whatever observable you get twice. Given that it is supposed to "partition", which sounds like splitting one thing into several parts, I'd think it should multicast the source.

ALSO: The partition operator just needs to be removed in favor of groupBy, as it doesn't make any sense as an operator with pipe.

@benlesh benlesh added the bug Confirmed bug label Sep 15, 2020
@cartant
Copy link
Collaborator

cartant commented Sep 24, 2020

Related: #3807

And there is a splitBy in rxjs-etc that I mentioned in this comment.

@benlesh
Copy link
Member Author

benlesh commented May 21, 2021

This is still an issue with the existing static partition, and we should address it sometime. It's debatable as to whether it's a breaking change.

@Ayudh
Copy link

Ayudh commented Aug 3, 2021

@benlesh can I work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug
Projects
None yet
Development

No branches or pull requests

3 participants