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
machine.addRoute(nil=>nil) // connect all states machine.addRouteChain(1=>2=>3) { ctx in println("SUCCEEDED") } machine.addChainErrorHandler(1=>2=>3) { ctx in println("FAILED") } // current state = 0 machine <- 1 // start chaining machine <- 3 // chaining failed (println FAILED) machine <- 2 // already failed (no println) machine <- 1 // reset & start chaining again machine <- 2 // succeeding... machine <- 3 // chaining succeeded (println SUCCEEDED)
The text was updated successfully, but these errors were encountered:
e031f8a
inamiy
No branches or pull requests
Psudocode
The text was updated successfully, but these errors were encountered: