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

i don't think that's the case. an await coroutine requires you to be asynchronous because you are implicitly suspending yourself until the awaited function completes (and through however many suspensions the awaited function creates). an await can never be synchronous, you need to pull in an event loop to close between asynchronous functions and sync-land, not an await.


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

Search: