Hacker Newsnew | past | comments | ask | show | jobs | submit | dcarp's commentslogin

Why not: async asyncio.wait([fut1, fut2])


The async keyword is used in coroutine declarations, so it wouldn't be valid syntax.


My bad... of course I wanted to write

await asyncio.wait([fut1, fut2])


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

Search: