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

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

No, this is describing the *desired* semantics, what I *would like* HWM = 0 to do. "When the sink eventually wants a chunk" means "when `controller.releaseBackpressure()` is called".

In the current spec, when HWM = 0, `writer.ready` is *always* pending. I would like to change that, so that the underlying sink has some control over that.

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

Received on Tuesday, 14 September 2021 20:27:09 UTC