python3-async-timeout binary package in openKylin Huanghe V3.0 riscv64
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()
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2024-10-15 03:20:27 UTC | Published | openKylin Huanghe V3.0 riscv64 | release | main | python | Optional | 4.0.3-ok1 | ||
|