aio-libs / async-timeout

asyncio-compatible timeout class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add methods for using as async context manager

asvetlov opened this issue · comments

Now we should use just with timeout(): statement.
It works pretty well but people feedback is a bit confusing: why with instead of async with.

I think it makes sense. Technically timeout support doesn't need async api but it makes learning curve smoother.

Fixed by #17