Skip to content

Commit dfd5994

Browse files
committed
Recommend using Regenerator instead.
1 parent 1300825 commit dfd5994

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
es7-async-await
22
===============
33

4-
Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions
4+
Transformer that converts `async` functions and `await` expressions into ECMAScript 6 generator functions and `yield` expressions.
5+
6+
Note that this transform is only really useful if you know you're targeting a platform that supports generator functions natively. Otherwise, you're better off using [Regenerator](https://github.com/facebook/regenerator), since it has the ability to transform `async` functions into ES5 without creating immediately-invoked `GeneratorFunction`s.

0 commit comments

Comments
 (0)