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