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

> the proposed controller.requestData()

I was just bikeshedding on `controller.releaseBackpressure()` based on @MattiasBuelens using the phrase _"request some data if it doesn't have anything queued yet"_. Sorry for causing confusion.

But you're right, there is a (side) issue in https://github.com/whatwg/streams/issues/1157#issuecomment-918547406 with effectively implementing a FrameDropper TransformStream. Today, it requires `{highWaterMark: 1}, {highWaterMark: 2}` in order to perform the `if (controller.desiredSize < 2)` to drop a frame. It's not clear how one would implement it with `{highWaterMark: 0}, {highWaterMark: 0}` which would be desirable.

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

Received on Tuesday, 14 September 2021 14:47:19 UTC