Why the ECMAScript 2015 Promises don't have finally methods?
Behrang Saeedzadeh
behrangsa at gmail.com
Sat Jul 4 23:36:21 UTC 2015
Thanks for the explanation guys. Looking forward to see both of
cancellation and finally in ECMAScript 2016! :) (as well as async/await)...
On an unrelated note, does anyone know if any of Firefox, Edge, and
Safari/WebKit have plans to implement the full ECMAScript 2015 by the end
of 2015?
On Sun, Jul 5, 2015 at 12:16 AM C. Scott Ananian <ecmascript at cscott.net>
wrote:
> You can get `Promise #finally` by using a helper library, like `prfun`.
>
> But the finally method in particular has a quirk, see the end of:
>
> https://github.com/cscott/prfun/blob/master/README.md#promisefinallyfunction-handler--promise
>
> It would be nice to resolve that properly before standardization.
>
>
> --scott
>
--
Best regards,
Behrang Saeedzadeh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150704/43e272d2/attachment.html>
More information about the es-discuss
mailing list