Skip to main content

resolve_queue_contract

Function resolve_queue_contract 

Source
pub fn resolve_queue_contract(
    admission: &AdmissionState,
    opts: &QueueOptions,
    wait: Option<WaitResult>,
) -> QueueContractOutcome
Expand description

Resolve the queue contract — pure and total. Given admission, the CLI options, and (if waited) the wait result, returns exactly one definite outcome. wait is ignored unless the command was queued and waiting.