- external event that selects a transition
- internal event that does not select a transition
- internal event that does select a transition
In this case, the first internal event is dequeued, checked, and discarded because it does not select any transitions. Instead of pulling the next event from the internal queue, the state machine will dequeue the external event. Only after that is processed, the second internal event is processed.
This behaviour is invalid: the internal queue should be emptied before the external queue.