Skip to main content

is_blocked

Function is_blocked 

Source
pub fn is_blocked<S: BuildHasher>(
    item_id: &str,
    states: &HashMap<String, WorkItemState, S>,
) -> bool
Expand description

Check if an item is blocked given a map of states.

Returns false if the item is not present in states.