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

Method done

jlld.js:543–557  ·  view source on GitHub ↗
(t = {})

Source from the content-addressed store, hash-verified

541 return new Promise((s) => setTimeout(s, t));
542 }
543 done(t = {}) {
544 const s = new Date().getTime(),
545 e = (s - this.startTime) / 1e3;
546 this.log(
547 "",
548 `\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${e} \u79d2`
549 )
550 this.log()
551 if (this.isNode()) {
552 process.exit(1)
553 }
554 if (this.isQuanX()) {
555 $done(t)
556 }
557 }
558 })(t, s);
559}

Callers 1

jlld.jsFile · 0.45

Calls 4

getTimeMethod · 0.80
logMethod · 0.45
isNodeMethod · 0.45
isQuanXMethod · 0.45

Tested by

no test coverage detected