Paquet : python3-async-interrupt (1.1.1-2)
Liens pour python3-async-interrupt
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source python-async-interrupt :
- [python-async-interrupt_1.1.1-2.dsc]
- [python-async-interrupt_1.1.1.orig.tar.gz]
- [python-async-interrupt_1.1.1-2.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
Interrupt context manager for asyncio
This Python module provides a context manager that can be used to interrupt a block of code as soon as possible when a future is done.
The purpose of async_interrupt is to raise an exception as soon as possible to avoid any race conditions. It is based loosely on async_timeout by Andrew Svetlov and cpython asyncio.timeout.
Usage:
async with interrupt(future, ValueError, "message"): future.set_result(None) await asyncio.sleep(0)
This package is useful in scenarios where an exception needs to be raised immediately to prevent race conditions during asynchronous operations.
Autres paquets associés à python3-async-interrupt
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
Télécharger python3-async-interrupt
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 6,5 ko | 33,0 ko | [liste des fichiers] |