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

I haven't had a chance to look at the implementation in detail. I think Chrome is interested in this functionality in general. I will leave it to @domenic to make the call on when we are happy with the spec change.

In the spirit of bikeshedding, I generally like the name `releaseBackpressure()` although I'd make it one word if I could. One problem I see with the name is that people might interpret it to mean that it will release backpressure even if `desiredSize` is negative.

Alternative names I've thought of
* `acceptChunk()` - has the same problem
* `ready()` - ambiguous
* `markReady()` - also might be misinterpreted
* `pull()` - confusing?

-- 
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#issuecomment-983730541

Received on Wednesday, 1 December 2021 15:05:33 UTC