MCPcopy Create free account
hub / github.com/Semporia/Scripts / wait

Method wait

jd_goodMorning.js:479–481  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

477 s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t)
478 }
479 wait(t) {
480 return new Promise(e => setTimeout(e, t))
481 }
482 done(t = {}) {
483 const e = (new Date).getTime(),
484 s = (e - this.startTime) / 1e3;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected