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

Actually Python now offers an asyncio.run function. Your example may now be:

result = asyncio.run(red(x))



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

Search: