Skip to main content

update

Function update 

Source
pub(super) fn update(
    state: ResumeState,
    event: ResumeEvent,
) -> (ResumeState, Vec<ResumeEffect>)
Expand description

The pure state transition. See the module doc comment for why this shape exists and what it replaces.