Re: [whatwg/streams] Add a realtime mode to ReadableStream.tee (Issue #1186)

> > * Store the previous chunk, and enqueue it when branch 2 (eventually) starts pulling. This chunk can be overwritten when branch 1 pulls in more chunks in the meantime.
> 
> My understanding was to go with this approach.

This would imply that if `structuredClone` is true, we always need to clone the chunk. Which is a problem if explicit closure is needed.

-- 
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/1186#issuecomment-972676853

Received on Thursday, 18 November 2021 09:16:44 UTC