A module that schedules and runs tasks using a prioritized queue.