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

Function onInvokeTask

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

Source from the content-addressed store, hash-verified

2388 }
2389 },
2390 onInvokeTask(
2391 parentZoneDelegate: ZoneDelegate,
2392 currentZone: Zone,
2393 targetZone: Zone,
2394 task: Task,
2395 applyThis: any,
2396 applyArgs: any,
2397 ) {
2398 hookSpy1();
2399 return parentZoneDelegate.invokeTask(targetZone, task, applyThis, applyArgs);
2400 },
2401 });
2402 const zone2 = Zone.current.fork({
2403 name: 'zone2',

Callers

nothing calls this directly

Calls 1

invokeTaskMethod · 0.65

Tested by

no test coverage detected