Skip to main content

apply

Function apply 

Source
pub fn apply(
    queue: &Queue,
    questions: &Questions,
    verdict: &Verdict,
) -> Result<()>
Expand description

Apply every decision in verdict. A single bad decision - a task id that no longer exists, one already claimed elsewhere - is logged and skipped rather than losing every other decision in the same reply.