Binary package “python3-async-timeout” in ubuntu kinetic
timeout context manager for asyncio programs in Python
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()
Source package
Published versions
- python3-async-timeout 4.0.1-1 in amd64 (Release)
- python3-async-timeout 4.0.1-1 in arm64 (Release)
- python3-async-timeout 4.0.1-1 in armhf (Release)
- python3-async-timeout 4.0.1-1 in i386 (Release)
- python3-async-timeout 4.0.1-1 in ppc64el (Release)
- python3-async-timeout 4.0.1-1 in riscv64 (Release)
- python3-async-timeout 4.0.1-1 in s390x (Release)