From a437b0c1b4068bd47b64ada4cba167a87f4b5ff2 Mon Sep 17 00:00:00 2001 From: renonick87 Date: Wed, 26 May 2021 11:44:42 -0400 Subject: [PATCH] Fix JS Docs for setVoiceCommand --- lib/js/src/manager/screen/_VoiceCommandManagerBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js/src/manager/screen/_VoiceCommandManagerBase.js b/lib/js/src/manager/screen/_VoiceCommandManagerBase.js index 1ad96d4f..fe6877e3 100644 --- a/lib/js/src/manager/screen/_VoiceCommandManagerBase.js +++ b/lib/js/src/manager/screen/_VoiceCommandManagerBase.js @@ -80,7 +80,7 @@ class _VoiceCommandManagerBase extends _SubManagerBase { /** * Stores the voice commands to send later. Will get overwritten by additional invocations of this method * @param {VoiceCommand[]} voiceCommands - An array of VoiceCommand instances. - * @returns {Promise} - A promise which resolves after old commands are deleted and new ones are added + * @returns {Promise} - A promise which resolves after the task to remove old commands and add new ones is added to the task queue. */ async setVoiceCommands (voiceCommands) { // we actually need voice commands to set. checks if the array of voice commands passed in contains the same content as the current voice commands