python3-async-timeout binary package in Ubuntu Jammy amd64
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 | ||
---|---|---|---|---|---|---|---|---|---|
2021-12-04 09:38:30 UTC | Published | Ubuntu Jammy amd64 | release | universe | python | Optional | 4.0.1-1 | ||
|
|||||||||
Deleted | Ubuntu Jammy amd64 | proposed | universe | python | Optional | 4.0.1-1 | |||
|
|||||||||
2021-12-04 09:38:53 UTC | Superseded | Ubuntu Jammy amd64 | release | universe | python | Optional | 3.0.1-1.1 | ||
|