[ 源代码: python-async-timeout ]
软件包:python3-async-timeout(4.0.2-1)
python3-async-timeout 的相关链接
Debian 的资源:
下载源码包 python-async-timeout:
- [python-async-timeout_4.0.2-1.dsc]
- [python-async-timeout_4.0.2.orig.tar.gz]
- [python-async-timeout_4.0.2-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
timeout context manager for asyncio programs in Python
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()
其他与 python3-async-timeout 有关的软件包
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python
- 或者 python3 (>> 3.8)
- interactive high-level object-oriented language (default python3 version)