Re: [whatwg/streams] Do not allow abort to happen when a close is about to happen (#634)

I think there might be an alternate way of implementing this, and of implementing the non-interruptibility of close/write, which is to leverage the [[queue]] more. In that formulation, abort() would clear the queue and then put an "abort" item in the queue, instead of its current behavior of immediately transitioning to the error state---which causes a number of strange things to happen.

-- 
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/634#issuecomment-268560253

Received on Wednesday, 21 December 2016 16:04:17 UTC