Skip to content

Reconstruct SM instance with specific state without triggering events #413

Answered by fgmacedo
galhyt asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. You can use distinct methods for this. One is to use a model, so when creating a state machine instance, you pass the model as the first parameter and the SM will start on the model's current state value. Another option is to use the start_value parameter when creating the State machine instance.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fgmacedo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants