Re: [whatwg/streams] [WritableStream] Shouldn't the state after writer.abort() be closed? (#464)

I have similar feeling for the design of Promise.all()'s rejection. Promise.all() rejects with the reason of the first rejection. There's no index attached to it. So, if we want to show which operation has failed, we need to retrieve that info by using something else than the rejection reason of Promise.all().

I guess for Promise.all() you've dropped that info after comparing the benefit of simplicity and the info, and decided to ask users who really want to show such info to do some more work by themselves. Was there any discussion from which I can get some rationale that helps me get convinced with this? I searched for "Promise.all index" at https://github.com/domenic/promises-unwrapping/issues but couldn't find such discussion.


---
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/464#issuecomment-228787600

Received on Monday, 27 June 2016 15:51:24 UTC