docs: function discardIfOverAttempted(tasksByName, count) {
        if (tasksByName) {
          taskUtils.getTasks(tasksByName).forEach(task => {
            const n = task.discardIfOverAttempted(maxNumberOfAttempts, true);
            if (count) overAttempted += n;
          });
        }
      }