Proposal: Promise.prototype.Finally

Tab Atkins Jr. jackalmage at
Mon Aug 18 13:36:56 PDT 2014

On Mon, Aug 18, 2014 at 12:30 PM, David Bruant <bruant.d at> wrote:
> Yes. Needed it recently.
> Ended up doing ".then(f).catch(f)" which can be survived but feels stupid.

And doesn't have the correct pass-through behavior, unless you've got
a switch in "f" that makes it return or throw based on whether the
argument is an Exception.


More information about the es-discuss mailing list