cancelAll method
void
cancelAll()
批量取消所有任务
Implementation
void cancelAll() {
for (final ctx in _contexts) {
if (!ctx.isFinished) {
ctx.markCancelled();
}
}
_scheduleProgressUpdate();
}
批量取消所有任务
void cancelAll() {
for (final ctx in _contexts) {
if (!ctx.isFinished) {
ctx.markCancelled();
}
}
_scheduleProgressUpdate();
}