Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Update to stage 2, per tc39/proposals@a669637
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 29, 2016
1 parent d976edd commit e367a60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@ ECMAScript Proposal, specs, and reference implementation for `Promise.prototype.

Spec drafted by [@ljharb](https://github.com/ljharb), following the lead from the [cancelable promise proposal](https://github.com/domenic/cancelable-promise/blob/master/Third%20State.md#promiseprototypefinally-implementation).

This proposal is currently [stage 0](https://github.com/tc39/proposals/blob/master/stage-0-proposals.md) of the [process](https://tc39.github.io/process-document/).
This proposal is currently [stage 2](https://github.com/tc39/proposals/blob/master/README.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.
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -124,7 +124,7 @@
</ol>
</div>
</div>
<h1 class="version">Stage 0 Draft / July 18, 2016</h1>
<h1 class="version">Stage 2 Draft / July 29, 2016</h1>
<h1 class="title">Promise.prototype.finally</h1>

<emu-clause id="sec-promise.prototype.finally">
Expand Down
2 changes: 1 addition & 1 deletion spec.emu
Expand Up @@ -5,7 +5,7 @@
<script src="./spec.js"></script>
<pre class="metadata">
title: Promise.prototype.finally
stage: 0
stage: 2
contributors: Jordan Harband
</pre>

Expand Down

0 comments on commit e367a60

Please sign in to comment.