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

Method scheduleEventTask

packages/zone.js/lib/zone-impl.ts:1046–1056  ·  view source on GitHub ↗
(
      source: string,
      callback: Function,
      data?: TaskData,
      customSchedule?: (task: Task) => void,
      customCancel?: (task: Task) => void,
    )

Source from the content-addressed store, hash-verified

1044 }
1045
1046 scheduleEventTask(
1047 source: string,
1048 callback: Function,
1049 data?: TaskData,
1050 customSchedule?: (task: Task) => void,
1051 customCancel?: (task: Task) => void,
1052 ): EventTask {
1053 return this.scheduleTask(
1054 new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel),
1055 );
1056 }
1057
1058 cancelTask(task: Task): any {
1059 if (task.zone != this)

Callers

nothing calls this directly

Calls 1

scheduleTaskMethod · 0.95

Tested by

no test coverage detected