- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 14 Sep 2021 13:39:15 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 September 2021 20:39:28 UTC
Oh! That explains the confusion. What do you think of @ricea's suggestion in https://github.com/whatwg/streams/issues/1158#issuecomment-897368767 for that purpose? Or even just changing the ready condition from `queueSize < highWaterMark` to `queueSize <= highWaterMark`, with some reasoning about how writable streams by default want at least one chunk, and HWM = 0 just says at most one chunk (no matter its size). I think that's less expressive than a dedicated method, but it might be a better general fix if right now HWM = 0 is just a footgun. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1158#issuecomment-919495934
Received on Tuesday, 14 September 2021 20:39:28 UTC