You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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