async_polyfill
es6 async await polyfill
converts function generators into async/await block and returns a Promise
promises should be yielded to syncronize the execution block
installation
npm install --save async_polyfill
usage
var async = ; //call generator function without parametersasync{ var user = ; console;}; // call generator functions with parametersvar someUrl = "http://example.com/users/1"; var { var user = ; return user;} asyncfnsomeUrl;