MCPcopy Index your code
hub / github.com/angular/angular / discardPeriodicTasks

Function discardPeriodicTasks

packages/zone.js/lib/zone-spec/fake-async-test.ts:1057–1061  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1055 * @experimental
1056 */
1057export function discardPeriodicTasks(): void {
1058 const zoneSpec = _getFakeAsyncZoneSpec();
1059 const pendingTimers = zoneSpec.pendingPeriodicTimers;
1060 zoneSpec.pendingPeriodicTimers.length = 0;
1061}
1062
1063/**
1064 * Wraps a function to be executed in a shared ProxyZone.

Callers 1

Calls 1

_getFakeAsyncZoneSpecFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…