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

Add support asyncio #228

Open
Accipiter7 opened this issue Sep 28, 2020 · 4 comments
Open

Add support asyncio #228

Accipiter7 opened this issue Sep 28, 2020 · 4 comments

Comments

@Accipiter7
Copy link

Since this is network dependent library it should support async / await for non-blocking access and Hence for better concurrency.
Thanks

@pndurette
Copy link
Owner

Indeed! Part of ripping out Python 2 support too..

@thedaynos
Copy link

I needed to use gtts in an async type of way so I set up a queue and a separate python script that only reads text messages from the queue and then calls gtts. That's all it does. Just loops until a message is received and then calls/plays.

@JDJGInc
Copy link

JDJGInc commented Jan 1, 2021

I agree with this, plus it makes work better with discord bots.

@jacksbox
Copy link

+1 would be super useful in todays async/await world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants