[erlang-questions] gen_statem state enter call and changing t oanother state

Frans Schneider fchschneider@REDACTED
Tue Jun 12 10:31:27 CEST 2018

On 06/12/2018 10:06 AM, Raimo Niskanen wrote:

> I agree.  State enter calls were introduced to allow code to be run when a
> state is entered, without having to duplicate that code at every state exit
> from the previous state.  It is a feature existing in other state machine
> description languages e.g OpenBSD's ifstated.
This is the exact reason for bringing up the whole issue. And sometimes, 
that requires a next_state NewState.


More information about the erlang-questions mailing list