StateMachine
StateMachine copied to clipboard
onEnter and side effects
First of all, thanks for this awesome library. And I have a little question about underlying theory. Is onEnter callback applicable for side effects (in terms of finite state machine theory)? Or should I create a model for every side effect and perform them exclusively in onTransition callback? Thanks in advance.