Creates a task collecting items sharing the same key.
The whole feed is drained before the first group is emitted, then groups are emitted in first-appearance order of
their key, with items inside each group in source order. Keys are limited to Primitive values and compared
with SameValueZero semantics, so NaN matches itself and -0 matches 0.
Warning
Accumulates the whole feed in memory before grouping. For large or infinite feeds, this may exhaust memory or
never complete.
Creates a task collecting items sharing the same key.
The whole feed is drained before the first group is emitted, then groups are emitted in first-appearance order of their key, with items inside each group in source order. Keys are limited to Primitive values and compared with
SameValueZerosemantics, soNaNmatches itself and-0matches0.Accumulates the whole feed in memory before grouping. For large or infinite feeds, this may exhaust memory or never complete.