Async Interrupt

JSON →
library 1.2.2 ·python
verified May 23, 2026

async-interrupt is a Python library providing an `asyncio` context manager that raises an exception in the current task when a specified `asyncio.Future` becomes done. This allows for interrupting long-running or blocking async operations based on external conditions, effectively 'waiting for' a future to complete by interrupting the current task. The current version is 1.2.2, and it follows an infrequent, feature-driven release cadence.

total hits 24
actors 7 distinct systems
last hit 1d ago MetaBot
ByteDance
4
MetaBot
4
GPTBot
2
Script
2
Search engines
1
Humans
1

top countries 🇩🇪 Germany · 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France