Debian logoDebian Screenshots >

python3-async-timeout

timeout context manager for asyncio programs in Python

Description

The context manager is useful in cases when you want to apply timeout logic around block of code or in cases when asyncio.wait_for() is not suitable. Also it's much faster than asyncio.wait_for() because timeout doesn't create a new task.

Example:

 with timeout(1.5):
     yield from inner()

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://github.com/aio-libs/async_timeout/


Statistics

693 other people were interested in this package here. The newest known version of this software is 3.0.1-1 (Information last updated about 23 hours ago.)