Re: [whatwg/streams] Add support for ReadableStream "owning" type (PR #1271)

Overall I'm happy with the general idea but this feels rather heavyweight for the use case. Perhaps `transfer` can be built into the existing model without introducing a new stream "type".

For instance, `ReadableStreamDefaultController` can have a new method `controller.clone(value, transferList)` that is like `controller.enqueue(...)` but clones/transfers the value when enqueued. 

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

Message ID: <whatwg/streams/pull/1271/c2094296861@github.com>

Received on Saturday, 4 May 2024 16:45:51 UTC