MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / main

Function main

wxapp/ydyc.js:223–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221}
222
223async function main() {
224 $.checkEnv(CK_NAME);
225 if (!$.userCount) {
226 $.log(`未找到变量 ${CK_NAME}`);
227 return;
228 }
229 for (let i = 0; i < $.userList.length; i++) {
230 const task = new YouDianYunChuang($.userList[i], i + 1);
231 await task.run();
232 if (i < $.userList.length - 1) await $.wait(1500, 3000);
233 }
234}
235
236main()
237 .catch((e) => $.log(`脚本异常: ${e.message || e}`))

Callers 1

ydyc.jsFile · 0.70

Calls 4

runMethod · 0.95
checkEnvMethod · 0.80
logMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected