{"library":"async-interrupt","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"1.2.2","tags":["asyncio","context-manager","concurrency","interruption","future"],"last_verified":"Sat May 23","install":[{"cmd":"pip install async-interrupt","imports":["from async_interrupt import wait_for_async_interrupt"]}],"homepage":null,"github":"https://github.com/bluetooth-devices/async_interrupt","docs":null,"changelog":"https://github.com/bluetooth-devices/async_interrupt/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/async-interrupt/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/async-interrupt/compatibility"}}