Re: [whatwg/streams] Pure Pull doesn't seem to work through TransformStream? (Issue #1354)

MeirionHughes left a comment (whatwg/streams#1354)

Ahh OK - yeah the WritableStream with HWM of 0 makes sense and I don't think that is confusing. 

My specific use-case is designing tests for 'extension' methods to do rxjs like piping but on top of webstreams. 

The problem is that without HWM 0, and nothing buffering within the pipe, it's quite difficult to deterministically expect that a sink / reader that pulls 4 items caused the source to emit 4 items. All my tests end up being 4 + estimation of streams in a pipe doing 1 item buffering. 

Hopefully your suggestion gets some traction. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1354#issuecomment-3223337222
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1354/3223337222@github.com>

Received on Tuesday, 26 August 2025 09:21:33 UTC