async/await improvements

Axel Rauschmayer axel at rauschma.de
Wed Nov 12 08:08:15 PST 2014


> On 12 Nov 2014, at 16:33, James Long <longster at gmail.com> wrote:
> 
>> Again, this is a generic issue for promises:  a good solution there will
>> "fix" everything.
> 
> It's inherent in the promise design, there is no way to truly fix
> promises. You have to mark the end of a promise chain. It's always
> going to be that way.

Is that true, though? Couldn’t a finalizer or something similar check (before a promise is garbage collected) whether all errors have been handled?

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141112/47c4e0c9/attachment.html>


More information about the es-discuss mailing list