Skip to main content

persist

Function persist 

Source
pub fn persist(
    block_id: &str,
    notice: &Notice,
    store: &Arc<Store>,
    event_bus: &Option<Arc<EventBus>>,
)
Expand description

Store notice’s state on block_id and tell the open windows. Nothing when it would change nothing (a retry of the same state, or ok with no key to remove).