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

Method scheduleEventTask

packages/zone.js/lib/zone-impl.ts:1041–1051  ·  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

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

Callers

nothing calls this directly

Calls 1

scheduleTaskMethod · 0.95

Tested by

no test coverage detected