On Wed, Jun 10, 2015 at 7:37 AM, Allen Wirfs-Brock <[email protected]> wrote:
> > On Jun 9, 2015, at 9:53 AM, C. Scott Ananian wrote: > > On Tue, Jun 9, 2015 at 12:38 PM, Mark S. Miller <[email protected]> > wrote: > >> Do you ever test that the object returned by `Promise#timeout(n)` is >> something other than a plain promise? >> > > Responded on the other thread. > > Let's keep this one focused on: do we need to tweak the definitions of > `Promise.all` and `Promise.race` as they relate to species, and if so: how? > > Option 1: don't consult species at all; Option 2: use species for > intermediate results, but don't use species for final result; Option 3: you > tell me! > > Since I'm personally rationalizing away the current behavior as grody but > acceptable, I'm particularly interested in hearing "me, toos" (via private > email to me or Allen) if you think we should make a change. > --scott > > > I agree that the current behavior is "grody, but acceptable" for > Promise.all and Promise.race > I agree that it is acceptable. Since we're not going to change it, I withhold judgement on whether it is goofy ;). > > However, I think that Promise.reject should parallel Promise.resolve and > hence it should not use species. > I agree. -- Cheers, --MarkM
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

