Re: [whatwg/streams] Make writer.abort() fail immediately (#715)

In particular you end up with parallel questions, like, what if you call controller.error() while sink.close() is running, if sink.close() returns a fulfilled promise. If we switched to semantics similar to abort(), then we'd have to say that this is ignored, as by the time the request-to-error gets executed, the stream has already successfully transitioned to the closed state.

-- 
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/715#issuecomment-289993307

Received on Wednesday, 29 March 2017 06:14:56 UTC