Promises

Domenic Denicola domenic at domenicdenicola.com
Tue Nov 6 16:13:41 PST 2012


-----Original Message-----
From: es-discuss-bounces at mozilla.org [mailto:es-discuss-bounces at mozilla.org] On Behalf Of Axel Rauschmayer
Sent: Tuesday, November 6, 2012 19:07

> Different issue: do we already have a solution for a missing error handler causing silent failures? task.js should cover this, too (right?)

Yes, since task.js essentially adds fulfillment and rejection handlers everywhere automatically, it's impossible to be left with an unhandled rejection.

(This assumes you use `yield` on all your promises, but then again, if you don't, you are essentially signaling that you don't care about the result.)


More information about the es-discuss mailing list