Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dcarp
· 11y ago · 0 comments
Why not: async asyncio.wait([fut1, fut2])
Comments
[–]
thomasjames
11y ago
The async keyword is used in coroutine declarations, so it wouldn't be valid syntax.
[–]
dcarp
OP
11y ago
My bad... of course I wanted to write
await asyncio.wait([fut1, fut2])