This function stops immediately the actual spoken speechUtterance object and cancels all the pending objects to speak. Under the hood, artyom uses speechSynthesis.cancel
.
artyom.say("Hello, this is a very very long string.\n\
I'm getting tired. Better someone silence me otherwise\n\
i will never stop talking . No one? please someone stops me. You will never hear this.");
/**
* Stop talking after 2 seconds.
*/
setTimeout(function(){
artyom.shutUp();
}, 2000);