Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

async/await is trivial to mimic with yield - run the outer-most generator in spawn, use yield* with "async" methods, and use yield with Promise-returning methods. Projects like Regenerator already know how to convert yield to straightforward JS. So you already have the transformation the C# compiler does.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: