tasks method

Future<void> tasks(
  1. List<Task> tasks, {
  2. int concurrency = 1,
})

Runs tasks as nested steps under this one, indented. A succeeded task with steps collapses to one line.

With the list's exitOnError, a failed step throws TasksFailed, which fails this task too.

Implementation

Future<void> tasks(List<Task> tasks, {int concurrency = 1}) =>
    _run._runLevel(tasks, concurrency, _node, _path);