MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / stop

Method stop

src/app/service/content/exec_warp.ts:92–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 }
91
92 stop() {
93 this.setTimeout.forEach((_, t) => {
94 global.clearTimeout(t);
95 });
96 this.setTimeout.clear();
97 this.setInterval.forEach((_, t) => {
98 global.clearInterval(t);
99 });
100 this.setInterval.clear();
101 return super.stop();
102 }
103}

Callers 1

executeSkillScriptMethod · 0.95

Calls 2

forEachMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected