Promise.cast and Promise.resolve

Brendan Eich brendan at mozilla.com
Tue Jan 28 21:24:32 PST 2014


Kris Kowal wrote:
> I would pick "Promise.cast" and "then", let complexity melt off the 
> spec, and stop worrying.

Seems not everyone agrees, especially since Promise.resolve is all over 
the place.

I wonder with task.js like solutions whether we'll actually have lots of 
hand-.then'ing of promises. I should hope not!

/be


More information about the es-discuss mailing list