use a timeout

This commit is contained in:
akirilyuk
2022-02-03 19:18:41 +01:00
parent fce40a47ce
commit 4636b487b4

View File

@@ -108,7 +108,9 @@ class TaskGather extends Task {
if (this.listenAfterSpeech) { if (this.listenAfterSpeech) {
startListening(cs, ep); startListening(cs, ep);
} else { } else {
setTimeout(()=> {
this.notifyTaskDone(); this.notifyTaskDone();
}, 2000);
} }
} }
}); });