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

Method clearInterval

src/scripting/api/Runtime/Timer.ts:109–117  ·  view source on GitHub ↗
(id:number)

Source from the content-addressed store, hash-verified

107 }
108
109 public clearInterval(id:number):void {
110 for (var i = 0; i < this._timers.length; i++) {
111 if (this._timers[i].type === 'interval' &&
112 this._timers[i].key === id) {
113 this._timers.splice(i, 1);
114 return;
115 }
116 }
117 }
118
119 public clearTimeout(id:number):void {
120 for (var i = 0; i < this._timers.length; i++) {

Callers 4

CommentManagerFunction · 0.80
intervalFunction · 0.80
clearIntervalFunction · 0.80
animate.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected