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

- Rejection order on sink.write() rejection
  - Before: write(), closed, abort(), ready
  - After: write(), abort(), ready, closed
  - Q: Worse?

I like it better actually. Ready normally rejects ASAP to indicate that writing now is useless, whereas closed rejects later so that it can provide a guarantee that everything has reached a stable state. Here both things happen together, but it's good to be consistent. Ideally ready would reject first or second, but it seems unimportant.

-- 
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-274409800

Received on Monday, 23 January 2017 06:25:24 UTC