-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to know weather state is a sub-state machine or a normal state #604
Comments
If you have, say
Then you can determine substates as follows
Never tried this, though:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a minimal sample which one can work from to answer my question:
So I have been looking for a way to determine weather a state is a sub-state machine or not. So far, I have not found a way. In essence, in the above code I want a way to determine weather the outer state machine is currently in a state represented by the inner state machine. So I am looking for some way to be able to do the following:
The text was updated successfully, but these errors were encountered: