[ Källkod: python-async-timeout ]
Paket: python3-async-timeout (3.0.1-1)
Länkar för python3-async-timeout
Debianresurser:
Hämta källkodspaketet python-async-timeout:
- [python-async-timeout_3.0.1-1.dsc]
- [python-async-timeout_3.0.1.orig.tar.gz]
- [python-async-timeout_3.0.1-1.debian.tar.xz]
Ansvariga:
Externa resurser:
- Hemsida [github.com]
Liknande paket:
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()
Andra paket besläktade med python3-async-timeout
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
Hämta python3-async-timeout
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 6,1 kbyte | 31,0 kbyte | [filförteckning] |