title: How to detect end of speech in microsoft-speech tts sdk
body: <p>I am using <strong>microsoft-cognitiveservices-speech-sdk</strong> in react for text to speech. I want to run a specific function when the text is finished being spoken. However I am unable to find a way to detect the end of the speech using the sdk. I just need a way to detect when the audio is finishd playing by the sdk so I can run my function</p>