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

Method scheduleMacroTask

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

1027 }
1028
1029 scheduleMacroTask(
1030 source: string,
1031 callback: Function,
1032 data?: TaskData,
1033 customSchedule?: (task: Task) => void,
1034 customCancel?: (task: Task) => void,
1035 ): MacroTask {
1036 return this.scheduleTask(
1037 new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel),
1038 );
1039 }
1040
1041 scheduleEventTask(
1042 source: string,

Callers

nothing calls this directly

Calls 1

scheduleTaskMethod · 0.95

Tested by

no test coverage detected