Re: [whatwg/streams] Add WritableStreamDefaultController.releaseBackpressure() (PR #1190)

@MattiasBuelens commented on this pull request.



> @@ -657,6 +659,9 @@ function WritableStreamDefaultControllerErrorIfNeeded(controller, error) {
 }
 
 function WritableStreamDefaultControllerGetBackpressure(controller) {
+  if (controller._releaseBackpressure === true) {

We might have to add `&& controller._queue.length === 0` here. Not sure yet. 🤔

-- 
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/pull/1190#pullrequestreview-815931344

Received on Thursday, 25 November 2021 12:30:24 UTC