Re: [whatwg/streams] Add checks before Close and Enqueue in tee() (#1027)

> Should we consider moving these checks into Close() and Enqueue() themselves, with an early-return if they fail? I think the original idea of separating them was that so callers that don't go through the public API could do a bit less work, but things have evolved such that that's not a great idea, so maybe we should inline them to avoid future contract violations...

Done in #1029. Closing this PR in favour of that one.

-- 
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/pull/1027#issuecomment-591876105

Received on Thursday, 27 February 2020 09:42:03 UTC