Skip to main content

clean_turn

Function clean_turn 

Source
pub fn clean_turn(
    block_id: &str,
    mstore: &Option<Arc<Store>>,
    event_bus: &Option<Arc<EventBus>>,
) -> usize
Expand description

A turn on block_id ended clean. When its account has other panes still marked limited, clears them, wakes the replay and tells their agents to continue. Returns how many were cleared. A map lookup when no account has a stored limit. BLOCKING when it has (store reads and writes).