PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.96k stars 1.57k forks source link

Add `as_completed` utility for `PrefectFuture`s #14241

Closed desertaxle closed 2 months ago

desertaxle commented 3 months ago

Add a wait utility that mirrors concurrent.futures.as_completed. Should accept an iterable of futures to wait for completion and a timeout. It should act as a generator and yield futures as they are completed.