Closed inamiy closed 8 years ago
I expected transition to be input parameter of the method, and the handler called only when the transition happened, but regardless of how.
@sluramod Thanks for feedback! That sounds even better, and I updated code in 1e88704. Please see updated test case.
excellent, thank you.
Ready to :shipit:
This pull request is a new feature for #40 to support
addAnyHandler()
which works for both event-based & state-based transitions.See test case: StateMachineEventTests.swift#L382-L446