This MR adds a new exception type ForceEndSession which the user may raise from an event handler or middleware in order to prematurely end the transcription session. Although there is currently no customer ask for this it is a helpful thing for us to have for internal testing. I've added a few new unit tests which test the behavior.
This MR adds a new exception type
ForceEndSession
which the user may raise from an event handler or middleware in order to prematurely end the transcription session. Although there is currently no customer ask for this it is a helpful thing for us to have for internal testing. I've added a few new unit tests which test the behavior.