(val = {})
| 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 | } |