concurrent.futures.Future and asyncio.Future Not Compatible

You can mix concurrent.futures.Future and asyncio.Future objects in your Python program because they are not compatible. This means that instances of the asyncio.Future class cannot be used in concurrent.futures module functions like concurrent.futures.wait() and concurrent.futures.as_completed() as it will cause an exception to be raised. Similarly, instances of the concurrent.futures.Future class cannot be used in asyncio […]
 •  0 comments  •  flag
Share on Twitter
Published on August 20, 2023 12:00
No comments have been added yet.