Re: [whatwg/streams] Piping to writable streams with HWM 0? (#1158)

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