Why the ECMAScript 2015 Promises don't have finally methods?
C. Scott Ananian
ecmascript at cscott.net
Sat Jul 4 14:16:35 UTC 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150704/ac9548be/attachment.html>
More information about the es-discuss
mailing list