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

The goal of avoiding the queue bloat from TransformStream is a good one, but the details of how to do it are tricky.

I think it _may_ be sufficient to have a `readyWhenNotWriting` boolean as part of the strategy which changes the condition for `writer.ready` from `queueSize < highWaterMark` to `queueSize < highWaterMark || underlyingSinkWriteNotInProgress`.

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

Received on Thursday, 12 August 2021 05:55:11 UTC