Re: [whatwg/streams] Make the internal queue observable (#1167)

This would make the internal behaviour of pipes visible, which is something we've tried to avoid for optimisation purposes. I suspect interaction with transferable streams will also be problematic for similar reasons. These concerns apply more strongly to platform streams rather than those implemented in JavaScript.

I feel it also breaks encapsulation in a way that is undesirable. From my point of view, the inability to peek at the queue is a feature, not a bug.

-- 
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/1167#issuecomment-928097472

Received on Monday, 27 September 2021 17:31:58 UTC