code: def create_pending_after_task(self):
          
          for task in self.settings.tasks[self.after_tasks_key]:
              self.after_tasks.append(task)
              self.after_results[task] = Result(task)
docs: Creates pending task results in a dict on self.after_result with task string as key.
          It will also create a list on self.tasks that is used to make sure the serialization
          of the results creates a correctly ordered list.