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

Function onInvokeTask

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

invokeTaskMethod · 0.65

Tested by

no test coverage detected