Skip to content

Commit

Permalink
The async function proposal was accepted into ES2017
Browse files Browse the repository at this point in the history
  • Loading branch information
slikts committed Feb 27, 2017
1 parent 249bbdc commit d982f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## Co v4

`co@4.0.0` has been released, which now relies on promises.
It is a stepping stone towards the [async/await proposal](https://github.com/lukehoban/ecmascript-asyncawait).
It is a stepping stone towards [ES2017 async/await](https://tc39.github.io/ecmascript-asyncawait/).

This comment has been minimized.

Copy link
@amirziari

amirziari Jul 14, 2018

Tc39

The primary API change is how `co()` is invoked.
Before, `co` returned a "thunk", which you then called with a callback and optional arguments.
Now, `co()` returns a promise.
Expand Down

0 comments on commit d982f93

Please sign in to comment.