Hi,
I am building finite state machines and would like to enter a state function directly when transition is made to the state.
In the documentation I found:
‘StateName’(enter, OldStateName :: state_name(), data())
When I make such a state function for a state, it never enters that state function. Only signal driven state functions are called.
BTW, I use:
callback_mode() ->
state_functions.
I can’t really find out more information on this (or am I just blind?). What is the purpose of this mechanism and how do I use it?
Cheers, Erik