Closed usescrt closed 2 years ago
Hi @usescrt do you mean the text isn't playing? Are you able to log the error?
Hi @abayomiAkanji Play is fine. But print codes not work.
Hi @usescrt Apparently, you wanted to perform an operation when the speech is over, right?
Hi @abayomiAkanji
Right.
@usescrt you might want to try this:
await ts.speak("test") // actual implementation
// Any code here (after the await) should be executed after the speech is over.
@abayomiAkanji thanks
Hi,
I'm trying await and then(), but no one executing on MacOS.
@usescrt in your code, is ok?
Thks!
Hi @silasrm
I am facing the same problem, did you get it to work?
Thanks!
tts.speak("test").then((value) => print("-------"));
ts.speak("test").whenComplete(() => print("------"));
not working please help