Where'd Promise#done go?

Kris Kowal kris.kowal at gmail.com
Tue Jun 18 15:13:07 PDT 2013


As Domenic mentions, there will be no place for "done" in our bright
promise debugger future.

It will however be necessary for promise users to keep on ending their
chains with "done()" until promise debuggers are ubiquitously available.
This is a simple problem. If you are writing code that targets both old and
new engines, the promise polyfill will simply have to patch a no-op "done"
onto the engine’s Promise.prototype.

Kris Kowal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130618/751b88d1/attachment.html>


More information about the es-discuss mailing list