Пакет: python3-async-interrupt (1.2.0-1)
Ссылки для python3-async-interrupt
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код python-async-interrupt:
- [python-async-interrupt_1.2.0-1.dsc]
- [python-async-interrupt_1.2.0.orig.tar.gz]
- [python-async-interrupt_1.2.0-1.debian.tar.xz]
Сопровождающие:
Внешние ресурсы:
- Сайт [github.com]
Подобные пакеты:
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.
Другие пакеты, относящиеся к python3-async-interrupt
|
|
|
|
-
- dep: python3
- интерактивный высокоуровневый объектно-ориентированный язык (версия python3 по умолчанию)
Загрузка python3-async-interrupt
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 6,8 Кб | 33,0 Кб | [список файлов] |