Skip to content

Conditional state transition #3

@dudycz

Description

@dudycz

Is there any possibility to make conditional transition that based on current machine state and input (event) data makes decision whether to transit to NextState or OtherState?

#[state]
pub enum ProcessState {
Init,
NextState,
OtherState,
Finished,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions