<div dir="ltr">Hi All, <br>I have a gen_fsm, where upon completing the handling
of a message in state_A, I want to immediately transition into
state_B... so I have state_A evaluate to: {next_state, state_B, State,
Timeout = 0}.<br>
<br>In my code, this is the only way to transition into state_B, so I only have implemented:<br>state_B ( timeout, State ) -> ...<br><br>Is
it possible, if other processes are sending my fsm messages, for me to
get a message in my queue while executing state_A code, but then have to
handle that message with state_B code? <br>
ie will the immediate transition to state_B via the Timeout = 0 trump any messages that landed in the queue?<br><br><div>The
reason I ask is that I see an error message that looks like state_B is
having to handle a message other than 'timeout', even though the only
way to get into state_B is from state_A with Timeout = 0.<br><br></div><div>Thanks!<br>Andy<br>
</div><div><br></div><br></div>