troessner/transitions

Document "enter" and "exit" for state declarations

troessner opened this issue · 4 comments

Document "enter" and "exit" for state declarations

Yeah I'm a little confused as to what the difference between enter and on_transition is? Wouldn't they be the same thing?

cmw commented

on_transition is when a specific transition is executed.

enter and exit are used when a state is entered or exited, no matter which transition is responsible for it.

HTH

A more detailed documentation on this will follow soon

+1 for that @cmw

@cmw any updates on this?