Items are emitted lazily, in source order, keeping the first occurrence of each key and discarding the ones
following it. Keys are compared with SameValueZero semantics, so NaN matches itself and -0 matches 0, and
structured keys are matched by identity rather than by content.
Warning
Retains every key seen so far in memory. For large or infinite feeds carrying many distinct keys, this may
exhaust memory.
Creates a task discarding repeated items.
Items are emitted lazily, in source order, keeping the first occurrence of each key and discarding the ones following it. Keys are compared with
SameValueZerosemantics, soNaNmatches itself and-0matches0, and structured keys are matched by identity rather than by content.Retains every key seen so far in memory. For large or infinite feeds carrying many distinct keys, this may exhaust memory.