async_timeout

Asyncio-compatible timeout context manager

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. async_timeout

Description

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.

Install

Channel stable v4.0.2-4

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install async_timeout

Download version 4.0.2-4 (any) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews