Queues text to be spoken by the shared speaker. Speech queued by earlier calls is spoken first.
The text to speak.
Optional
How to speak this text.
Resolves to true when the text has been spoken, or false if it was interrupted by stop(). Rejects if an option is invalid, such as an unknown voice
true
false
stop()
Queued speech is spoken to the end even if you don't keep the returned Promise
Queues text to be spoken by the shared speaker. Speech queued by earlier calls is spoken first.