Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use asyncio instead of threading #8

Open
vickumar1981 opened this issue Apr 2, 2020 · 2 comments
Open

Use asyncio instead of threading #8

vickumar1981 opened this issue Apr 2, 2020 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@vickumar1981
Copy link
Owner

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 vickumar1981 added enhancement New feature or request question Further information is requested labels Apr 2, 2020
@vickumar1981 vickumar1981 changed the title Drop suppot or python 2? Use asyncio instead of threading Drop support or python 2? Use asyncio instead of threading Feb 21, 2021
@vickumar1981
Copy link
Owner Author

As of 1.0.4, requires Python >= 3.6.

@vickumar1981 vickumar1981 changed the title Drop support or python 2? Use asyncio instead of threading Use asyncio instead of threading Feb 21, 2021
@vickumar1981
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant