#5731·rxjs

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

Author: benleshCreated Sep 15, 2020Updated Jul 25, 2026
Labelsbug

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.