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

So maybe my confusion is this. @MattiasBuelens said

> With HWM = 0, the stream is asking not to put anything its queue, except for the case where it wants a chunk. Here, most of the time writer.ready will be pending. When the sink eventually wants a chunk, writer.ready temporarily becomes resolved and waits for a chunk to be written. Once that happens, writer.ready becomes pending again.

I assume this is referring to the current spec? However, I can't figure out in what scenario with HWM = 0 `writer.ready` will *ever* resolve.

-- 
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-919484142

Received on Tuesday, 14 September 2021 20:20:43 UTC