use a timeout

This commit is contained in:
akirilyuk committed 2022-02-03 19:18:41 +01:00
1 parent fce40a47ce
commit 4636b487b4
1 file changed
+3 -1
+3 -1
View File
@@ -108,7 +108,9 @@ class TaskGather extends Task {
if (this.listenAfterSpeech) {
startListening(cs, ep);
} else {
this.notifyTaskDone();
setTimeout(()=> {
this.notifyTaskDone();
}, 2000);
}
}
});