private List<Task> extractTasksFromResponses(List<DescribeTasksResponse> r) {
    return r.stream().flatMap(this::extractTasksFromResponse).collect(Collectors.toList());
  }
Wrapper around paginated ECS list/describe Task APIs that efficiently describes all tasks.
scheduling-manager/src/main/java/com/amazonaws/blox/scheduling/state/TaskLister.java