MCPcopy Create free account
hub / github.com/angular/angular / cancelOnIdle

Function cancelOnIdle

packages/core/test/di/inject_async/inject_async_spec.ts:264–268  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

262 return setTimeout(callback, options.timeout) as unknown as number;
263 },
264 cancelOnIdle(id: number): void {
265 if (id !== -1) {
266 clearTimeout(id);
267 }
268 },
269 };
270
271 TestBed.configureTestingModule({

Callers

nothing calls this directly

Calls 1

clearTimeoutFunction · 0.85

Tested by

no test coverage detected