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

Method _updateTaskCount

packages/zone.js/lib/zone-impl.ts:1082–1090  ·  view source on GitHub ↗
(task: ZoneTask<any>, count: number)

Source from the content-addressed store, hash-verified

1080 }
1081
1082 private _updateTaskCount(task: ZoneTask<any>, count: number) {
1083 const zoneDelegates = task._zoneDelegates!;
1084 if (count == -1) {
1085 task._zoneDelegates = null;
1086 }
1087 for (let i = 0; i < zoneDelegates.length; i++) {
1088 zoneDelegates[i]._updateTaskCount(task.type, count);
1089 }
1090 }
1091 }
1092
1093 const DELEGATE_ZS: ZoneSpec = {

Callers 4

runTaskMethod · 0.95
scheduleTaskMethod · 0.95
cancelTaskMethod · 0.95
patchTimerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected