From 1143ced65bc9522f04ae9c98367b04a13fe5fe15 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 24 Jan 2018 10:22:32 -0800 Subject: [PATCH] Promise.prototype.finally is now stage 4! https://github.com/tc39/proposals/commit/4aa195cb84b40cb6d6cb12bda31ba8cb69b5dda1 https://github.com/tc39/ecma262/pull/1073 Closes #18 --- README.md | 2 +- index.html | 2 +- spec.emu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 463eda3..4cf9035 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Spec drafted by [@ljharb](https://github.com/ljharb), following the lead from th Get the polyfill/shim on [npm](https://www.npmjs.com/package/promise.prototype.finally). -This proposal is currently [stage 3](https://github.com/tc39/proposals/blob/master/README.md) of the [process](https://tc39.github.io/process-document/). +This proposal is currently [stage 4](https://github.com/tc39/proposals/blob/master/finished-proposals.md) of the [process](https://tc39.github.io/process-document/). ## Rationale Many promise libraries have a "finally" method, for registering a callback to be invoked when a promise is settled (either fulfilled, or rejected). The essential use case here is cleanup - I want to hide the "loading" spinner on my AJAX request, or I want to close any file handles I’ve opened, or I want to log that an operation has completed regardless of whether it succeeded or not. diff --git a/index.html b/index.html index 87b5375..499d797 100644 --- a/index.html +++ b/index.html @@ -2148,7 +2148,7 @@
-

Stage 3 Draft / January 2, 2018

+

Stage 4 Draft / January 24, 2018

Promise.prototype.finally

diff --git a/spec.emu b/spec.emu index 97b8333..d848cb0 100644 --- a/spec.emu +++ b/spec.emu @@ -5,7 +5,7 @@