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

Method onScheduleTask

packages/zone.js/lib/zone-spec/proxy.ts:201–215  ·  view source on GitHub ↗
(
    parentZoneDelegate: ZoneDelegate,
    currentZone: Zone,
    targetZone: Zone,
    task: Task,
  )

Source from the content-addressed store, hash-verified

199 }
200
201 onScheduleTask(
202 parentZoneDelegate: ZoneDelegate,
203 currentZone: Zone,
204 targetZone: Zone,
205 task: Task,
206 ): Task {
207 if (task.type !== 'eventTask') {
208 this.tasks.push(task);
209 }
210 if (this._delegateSpec && this._delegateSpec.onScheduleTask) {
211 return this._delegateSpec.onScheduleTask(parentZoneDelegate, currentZone, targetZone, task);
212 } else {
213 return parentZoneDelegate.scheduleTask(targetZone, task);
214 }
215 }
216
217 onInvokeTask(
218 parentZoneDelegate: ZoneDelegate,

Callers

nothing calls this directly

Calls 2

scheduleTaskMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected