Skip to content

feature request: return to previous state #439

@bernarde01

Description

@bernarde01

Thanks for an awesome tool!

I have a state machine that can go to an "ask if exit" state from every state. It would be great if I could define this ask_if_exit as a single state, and then enable this state to transition back to the previous state if the user does not want to exit.

This means that this transition will need to be dynamically defined. I have tried to do this using the library, but no luck. I forked the repo to see if I can implement this, but I don't see how this would be possible.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions