- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 09 Aug 2021 12:21:51 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 August 2021 19:22:03 UTC
Although adding such a mechanism might be useful, I want to make sure we've figured out the root issue here. In particular I worry that maybe we got the semantics of HWM wrong for WritableStream, if there's an expressive gap here. But, I'm having a hard time articulating the expressive gap. Let's say we had a WritableStream with HWM = 0 that called `controller.releaseBackpressure()`. (When would it call it, exactly?) What is that WritableStream trying to express? My best guess was something like "I currently have nothing in the queue, and I intend to consume whatever you give me ASAP, but please don't give me more than 1 chunk". But... that seems like the right semantics for HWM = 1. So I admit I'm confused. -- 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-895478507
Received on Monday, 9 August 2021 19:22:03 UTC