Open vickumar1981 opened 4 years ago
The current Future implementation uses python's threading library, to maintain backwards compatibility with Python 2.
Future
threading
If Python 2 is no longer supported, then the class can instead use asyncio.
asyncio
As of 1.0.4, requires Python >= 3.6.
1.0.4
Open question: How to pass event loop into future class? Should a new class be created for using asyncio, an AsyncFuture?
AsyncFuture
The current
Future
implementation uses python'sthreading
library, to maintain backwards compatibility with Python 2.If Python 2 is no longer supported, then the class can instead use
asyncio
.