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

Method done

jd_try.js:1063–1071  ·  view source on GitHub ↗
(val = {})

Source from the content-addressed store, hash-verified

1061 }
1062
1063 done(val = {}) {
1064 const endTime = new Date().getTime()
1065 const costTime = (endTime - this.startTime) / 1000
1066 this.log('', `🔔${this.name}, 结束! 🕛 ${costTime} 秒`)
1067 this.log()
1068 if (this.isSurge() || this.isQuanX() || this.isLoon()) {
1069 $done(val)
1070 }
1071 }
1072 })(name, opts)
1073}

Callers 1

jd_try.jsFile · 0.45

Calls 4

logMethod · 0.45
isSurgeMethod · 0.45
isQuanXMethod · 0.45
isLoonMethod · 0.45

Tested by

no test coverage detected