Tasks have a TaskIdentifier
NextPriorityGenerator generates queue priorities that always ensure one is run next