MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / stop

Method stop

src/scripting/api/Runtime/Timer.ts:188–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 public stop():void {
189 if (this.isRunning) {
190 clearInterval(this._timer);
191 this._timer = -1;
192 }
193 }
194
195 public reset():void {
196 this.stop();

Callers 1

resetMethod · 0.95

Calls 1

clearIntervalFunction · 0.85

Tested by

no test coverage detected