From 4636b487b420f4e44e4fa5cb9fce6240028e17f4 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Thu, 3 Feb 2022 19:18:41 +0100 Subject: [PATCH] use a timeout --- lib/tasks/gather.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 94588157..a21856db 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -108,7 +108,9 @@ class TaskGather extends Task { if (this.listenAfterSpeech) { startListening(cs, ep); } else { - this.notifyTaskDone(); + setTimeout(()=> { + this.notifyTaskDone(); + }, 2000); } } });