allTasks method

Future<List<Task>> allTasks({
  1. String group = defaultGroup,
  2. bool includeTasksWaitingToRetry = true,
})

Returns a list of all tasks currently active in this group

Active means enqueued or running, and if includeTasksWaitingToRetry is true also tasks that are waiting to be retried

This method acts on a group of tasks. If omitted, the defaultGroup is used, which is the group used when you enqueue a task.

Implementation

Future<List<Task>> allTasks(
        {String group = defaultGroup,
        bool includeTasksWaitingToRetry = true}) =>
    _downloader.allTasks(group, includeTasksWaitingToRetry);