W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2013

Re: [whatwg] How works Promise.any() if it was called with resolved promises?

From: Tetsuharu OHZEKI <saneyuki.snyk@gmail.com>
Date: Sat, 15 Jun 2013 01:04:00 +0900
Message-ID: <CACyPx=k4RMtZsxWekThbr0Z+yfAyYz=bgEVsnGw-jLGCjgSOMA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: WHATWG <whatwg@lists.whatwg.org>
2013/6/15 Tab Atkins Jr. <jackalmage@gmail.com>:
> Promise.any() only passes the *first* argument's fulfill value to its
> callback, not all of them (even if it was called with several
> already-fulfilled arguments).
>
> Otherwise, you're right.

Thank you very much. I understand about the behavior.


--
Tetsuharu OHZEKI
(a.k.a saneyuki_s)
Received on Friday, 14 June 2013 16:04:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:22 UTC