[whatwg/streams] Consolidate "closing" state and [[pendingClosePromise]]? (#633)

I think they are redundant, that is, everywhere we check "writing", we can check if [[pendingClosePromise]] is not undefined and state is "writable".

It's nicer to not have the redundancy since right now the spec has to make sure they stay in sync manually.

-- 
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/633

Received on Friday, 16 December 2016 23:13:04 UTC