pub fn set_priority( queue: &Queue, reference: &str, priority: i32, ) -> Result<Task>
Change priority under the same claim and state check as the terminal route.