Skip to content

Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions

License

Notifications You must be signed in to change notification settings

polyfills/es7-async-fn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es7-async-fn

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Fork of es7-async-await for ecstacy usage.

Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions.

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, since it has the ability to transform async functions into ES5 without creating immediately-invoked GeneratorFunctions.

About

Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%