job.yield_tasks_unordered() — run all queued tasks, and yield unordered results

yield_tasks_unordered()
This runs all of the tasks in the job's queue on any available slave, like job.run_all_tasks(). However, it does not wait until all the tasks have completed; it will return results from tasks as they complete, as a Python generator. Note that this means the results will not generally be in the same order as the tasks were submitted.

See also job.run_all_tasks().