allTaskIds method
Returns a list of taskIds 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<String>> allTaskIds(
{String group = defaultGroup,
bool includeTasksWaitingToRetry = true}) async =>
(await allTasks(
group: group,
includeTasksWaitingToRetry: includeTasksWaitingToRetry))
.map((task) => task.taskId)
.toList();