Re: [whatwg/streams] WritableStream abort logic clean up (#655)

> - sink.close() rejection doesn't change the rejection reason of writer.ready if it's already rejected due to writer.abort() or controller.error()
>   - Q: Is this ok? When a writer is reobtained, the ready promise is set to be rejected with the latest error.

I think it would be more consistent if the rejection reason changed, but unlikely to make any practical difference to anyone. So not worth making the logic more complicated for.

-- 
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/655#issuecomment-274409202

Received on Monday, 23 January 2017 06:20:43 UTC