MCPcopy
hub / github.com/angular/angular / cancelOnIdle

Function cancelOnIdle

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

clearTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…