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

Method stop

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

Source from the content-addressed store, hash-verified

88 }
89
90 public stop():void {
91 if (this._timer > -1) {
92 clearInterval(this._timer);
93 this._timer = -1;
94 }
95 }
96
97 public setInterval(f:Function, interval:number):number {
98 var myKey = this._key++;

Callers 1

isRunningMethod · 0.95

Calls 1

clearIntervalFunction · 0.85

Tested by

no test coverage detected