reset method
Resets the status and retry count for the given task
.
Implementation
void reset(DownloadTask task) {
taskStatus.remove(task.id);
retryTimes = 3;
}
Resets the status and retry count for the given task
.
void reset(DownloadTask task) {
taskStatus.remove(task.id);
retryTimes = 3;
}