You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stream/iter: share() does not discard upstream results with "drop-newest" #64416
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
fast: [ '0', '1' ]bufferSize: 2slow: [ '0', '1' ]
Once the two-slot buffer is full, upstream results '2' and '3' are discarded under "drop-newest".
Neither consumer receives them, and the buffer never exceeds highWaterMark.
Activity
stream: fix drop-newest behavior in share()
stream: fix drop-newest behavior in share()
stream: fix drop-newest behavior in share()
stream: fix drop-newest behavior in share()
stream: fix drop-newest behavior in share()
stream: fix drop-newest behavior in share()