I just came to the painful realization that generator functions cannot be used with await. Only promises or async functions.
My team built an entire application with all modules consisting of generator functions, with one call to the Co module from the main js file.
Besides going though hundreds of generator function and changing them from function*(...){
to async function(...){
, how else can generators be made to work with async/await?
Makes no sense because yield*/generators and async/await are pretty similar in how they handle flow so I'm wondering how they missed out on having await support generators.