python3-async-interrupt 1.1.2-1 (armhf binary) in ubuntu oracular
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.
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.
Details
- Package version:
- 1.1.2-1
- Status:
- Published
- Component:
- universe
- Priority:
- Optional
Downloadable files
amd64 build of python-async-interrupt 1.1.2-1 in ubuntu oracular PROPOSED produced
these files:
- python3-async-interrupt_1.1.2-1_all.deb (6.3 KiB)
Package relationships
- Depends on: