gh-77714: Provide an async iterator version of as_completed (GH-22491)
* as_completed returns object that is both iterator and async iterator * Existing tests adjusted to test both the old and new style * New test to ensure iterator can be resumed * New test to ensure async iterator yields any passed-in Futures as-is Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
J
Justin Turner Arthur committed
c741ad3537193c63fe697a8f0316aecd45eeb9ba
Parent: ddf814d
Committed by GitHub <noreply@github.com>
on 4/1/2024, 5:07:29 PM