{"library":"wait-for2","type":"library","category":null,"description":"wait-for2 provides an enhanced `asyncio.wait_for` function designed to robustly handle complex scenarios involving simultaneous task completion and cancellation. It aims to prevent race conditions where a task might complete just as it's being cancelled. The current version is 0.4.1. Releases are made on an as-needed basis, typically for bug fixes, Python version compatibility, or new features.","language":"python","status":"active","version":"0.4.1","tags":["asyncio","concurrency","timeout","cancellation","python"],"last_verified":"Mon May 25","install":[{"cmd":"pip install wait-for2","imports":["from wait_for2 import wait_for2"]}],"homepage":null,"github":"https://github.com/Traktormaster/wait-for2","docs":null,"changelog":null,"pypi":"https://pypi.org/project/wait-for2/","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/wait-for2/compatibility"}}