async_timeout

Asyncio-compatible timeout context manager

Version

4.0.2-4
(2025-07-24)

Size

792

bytes

Repository

HaikuPorts
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.