Skip to main content

change_wakes_held

Function change_wakes_held 

Source
pub fn change_wakes_held(from: AgentState, to: AgentState) -> bool
Expand description

Whether a change from from to to can make a held message deliverable: the agent left a state that held messages (out of quota, signed out, not running), or a session that had gone quiet took a turn (a cold session warming). The one place a state change wakes the held-message replay, so a path that forgets its own wake is still covered.