mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
kill all say tasks if we got transcription on barge in
This commit is contained in:
@@ -362,8 +362,9 @@ class Cognigy extends Task {
|
|||||||
|
|
||||||
if (this.config.skipUntilBotInput) {
|
if (this.config.skipUntilBotInput) {
|
||||||
// clear task queue, resolve the last promise and cleanup;
|
// clear task queue, resolve the last promise and cleanup;
|
||||||
this.taskQueue.end();
|
|
||||||
this.taskQueue.lastPromise.resolve();
|
this.taskQueue.lastPromise.resolve();
|
||||||
|
this.taskQueue.end();
|
||||||
|
this._killSayTasks()
|
||||||
this.taskQueue.autostart = true;
|
this.taskQueue.autostart = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user