-
Notifications
You must be signed in to change notification settings - Fork 354
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
Labels
Comments
Indeed! Part of ripping out Python 2 support too.. |
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. |
I agree with this, plus it makes work better with discord bots. |
+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
Since this is network dependent library it should support async / await for non-blocking access and Hence for better concurrency.
Thanks
The text was updated successfully, but these errors were encountered: