Skip to main content

holds

Function holds 

Source
fn holds(item: &WorkItem, agent_id: &str, uid: &str, attempt: i64) -> bool
Expand description

Whether the caller holds this claim now: the same rule as the queue’s holder transitions (UID when both are known, else the name), and the fence.