Skip to main content

after_rebind

Function after_rebind 

Source
pub fn after_rebind(
    mstore: &Arc<Store>,
    event_bus: &Arc<EventBus>,
    before: Vec<(String, Vec<String>)>,
    account_id: &str,
) -> usize
Expand description

An agent was linked to account_id (spec §6.3, “on rebind”): clear the stored failure of each of before (failed_panes) whose run wasn’t on that account, then wake held messages and the episodes. Returns how many were cleared.