MCPcopy
hub / github.com/angular/angular / onInvokeTask

Function onInvokeTask

packages/zone.js/test/browser/browser.spec.ts:2322–2332  ·  view source on GitHub ↗
(
              parentZoneDelegate: ZoneDelegate,
              currentZone: Zone,
              targetZone: Zone,
              task: Task,
              applyThis: any,
              applyArgs: any,
            )

Source from the content-addressed store, hash-verified

2320 }
2321 },
2322 onInvokeTask(
2323 parentZoneDelegate: ZoneDelegate,
2324 currentZone: Zone,
2325 targetZone: Zone,
2326 task: Task,
2327 applyThis: any,
2328 applyArgs: any,
2329 ) {
2330 hookSpy1();
2331 return parentZoneDelegate.invokeTask(targetZone, task, applyThis, applyArgs);
2332 },
2333 });
2334 const zone2 = Zone.current.fork({
2335 name: 'zone2',

Callers

nothing calls this directly

Calls 1

invokeTaskMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…