We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
toState
Transition
Because I want to determine the action according to the toState state. If you can I can create an extension function then I can write to flow.
ex)
If toState property is publish and you define below extension
fun State.navigate() { when(this) { Solid -> foo } }
we can write the following:
stateMachine.transition(<SomeEvent>).toState.navigate()
Now we can only write the following:
stateMachine.run { transition(it) state.navigate() }
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because I want to determine the action according to the
toState
state.If you can I can create an extension function then I can write to flow.
ex)
If
toState
property is publish and you define below extensionwe can write the following:
Now we can only write the following:
Thank you.
The text was updated successfully, but these errors were encountered: