You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`await asyncio.sleep(0)` is almost always a bad idea, as we have the ability to actually await completion of something (or multiple things) instead of assuming timeouts. I would have used `asyncio.gather` if the `get_result` parameter didn't exist. I also inlined `_cancel` function that is only used by `cancel` and not descriptive of what it does.
0 commit comments