Charles Bournhonesque
07/21/2025, 1:48 PMalex
07/21/2025, 1:53 PMPrefectFuture to complete, but I think it'd be cool if you would await a PrefectFuture. Probably the best bet for waiting for a PrefectFuture to finish without blocking would be to run .wait in a thread. You could also open an issue in GitHub to add an async interface for PrefectFuture waiting.Charles Bournhonesque
07/21/2025, 1:55 PMalex
07/21/2025, 1:59 PMPrefectConcurrentFuture, you could get the underlying future with .wrapped_future and then use asyncio.wrap_future to make it awaitable.