- From: Adam Rice <notifications@github.com>
- Date: Tue, 14 Sep 2021 15:30:09 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 September 2021 22:30:21 UTC
> > WritableStreamDefaultControllerGetBackpressure(_controller_) performs the following steps: > > > > 1. Let _desiredSize_ be ! WritableStreamDefaultControllerGetDesiredSize(_controller_). > > 2. If _controller_.[[strategyHWM]] is 0, > > > > 1. Return true if _desiredSize_ < 0, or false otherwise. > > (This is effectively the same as checking if _controller_.[[queueTotalSize]] > 0.) > > 3. Otherwise, > > > > 1. Return true if _desiredSize_ ≤ 0, or false otherwise. Is this different from just making HWM 0 equivalent to HWM 1? -- 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-919557567
Received on Tuesday, 14 September 2021 22:30:21 UTC