(
source: string,
callback: Function,
data?: TaskData,
customSchedule?: (task: Task) => void,
customCancel?: (task: Task) => void,
)
| 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) |
nothing calls this directly
no test coverage detected