You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to change the initial_state at runtime?
I am storing the the states of my machine in the database and at restart, I would like to start from the last known stored state. Is it possible to set the FSM_initial_state at runtime, without using the transit function?
Thanks
The text was updated successfully, but these errors were encountered:
I would not recommend this, as you are breaking basic state machine rules with this.
That said, you could probably write your own set_initial_state specialization, something like:
Is it possible to change the initial_state at runtime?
I am storing the the states of my machine in the database and at restart, I would like to start from the last known stored state. Is it possible to set the FSM_initial_state at runtime, without using the transit function?
Thanks
The text was updated successfully, but these errors were encountered: