Where'd Promise#done go?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss