Skip to main content

check_attempt

Function check_attempt 

Source
pub fn check_attempt(step: &StepState, event: &EventInput) -> KResult<()>
Expand description

Reject an event whose attempt is not the step’s current one: already_terminal for a past attempt, illegal_transition for a future one.