pyeffects icon indicating copy to clipboard operation
pyeffects copied to clipboard

Use asyncio instead of threading

Open vickumar1981 opened this issue 5 years ago • 2 comments
trafficstars

The current Future implementation uses python's threading library, to maintain backwards compatibility with Python 2.

If Python 2 is no longer supported, then the class can instead use asyncio.

vickumar1981 avatar Apr 02 '20 22:04 vickumar1981

As of 1.0.4, requires Python >= 3.6.

vickumar1981 avatar Feb 21 '21 04:02 vickumar1981

Open question: How to pass event loop into future class? Should a new class be created for using asyncio, an AsyncFuture?

vickumar1981 avatar Feb 21 '21 04:02 vickumar1981