shawenguan 2 年 前
コミット
c5c6c617a9
1 ファイル変更3 行追加2 行削除
  1. 3 2
      Scripts/jhsh/jhshHelper.js

+ 3 - 2
Scripts/jhsh/jhshHelper.js

@@ -69,13 +69,14 @@ if (!lk.isExecComm) {
     }
 }
 
-function waitTest(){
+async function waitTest(){
     // return new Promise(resolve => {
     //     // setTimeout(resolve, 3000);
     //     lk.log("waitTest");
     //     resolve();
     // });
-    return new Promise((resolve) => setTimeout(resolve, 3000))
+    // return new Promise((resolve) => setTimeout(resolve, 3000))
+    lk.log(setTimeout);
 }
 
 function checkHandleRequest() {