Skip to main content

slot_taken

Function slot_taken 

Source
fn slot_taken(
    map: &HashMap<String, Pending>,
    block_id: &str,
    kind: Kind,
) -> Option<Kind>
Expand description

Whether a new request of kind on block_id must wait, and on which kind. Each level holds one request at a time, except that a page dialog may follow one already answered (the approved click opened it). A notice holds nothing and is replaced by anything new, but doesn’t cover a navigation question still unanswered.