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

Function wait

hqcsh.js:299–303  ·  view source on GitHub ↗

* ======================================================等待 X 秒============================================

(n)

Source from the content-addressed store, hash-verified

297* ======================================================等待 X 秒============================================
298*/
299function wait(n) {
300 return new Promise(function (resolve) {
301 setTimeout(resolve, n * 1000);
302 });
303}
304// ==========================================================时间戳=====================================================
305function getTimestamp() {
306 return new Date().getTime();

Callers 1

userTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected