python3-async-timeout 4.0.3-ok1 (i386 binary) in openkylin huanghe
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()
Details
- Package version:
- 4.0.3-ok1
- Status:
- Published
- Component:
- main
- Priority:
- Optional
Downloadable files
amd64 build of python-async-timeout 4.0.3-ok1 in openkylin nile RELEASE produced
these files:
- python3-async-timeout_4.0.3-ok1_all.deb (5.5 KiB)
Package relationships
- Depends on: