Pakiet: python3-async-interrupt (1.2.2-1)
Odnośniki dla python3-async-interrupt
Zasoby systemu Debian:
- Raporty o błędach
- Developer Information
- Dziennik zmian w systemie Debian
- Informacje nt. praw autorskich
- Śledzenie łatek systemu Debian
Pobieranie pakietu źródłowego python-async-interrupt:
- [python-async-interrupt_1.2.2-1.dsc]
- [python-async-interrupt_1.2.2.orig.tar.gz]
- [python-async-interrupt_1.2.2-1.debian.tar.xz]
Opiekunowie:
Zasoby zewnętrzne:
- Strona internetowa [github.com]
Podobne pakiety:
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.
Inne pakiety związane z python3-async-interrupt
|
|
|
|
-
- dep: python3
- Interaktywny, wysokopoziomowy i obiektowy język programowania (domyślna wersja Python 3)
Pobieranie python3-async-interrupt
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 9,0 KiB | 35,0 KiB | [lista plików] |