StateMachine icon indicating copy to clipboard operation
StateMachine copied to clipboard

onEnter and side effects

Open crucian11 opened this issue 6 years ago • 0 comments

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.

crucian11 avatar Sep 17 '19 14:09 crucian11