-
Notifications
You must be signed in to change notification settings - Fork 0
Ignore
Leon Starr edited this page Jul 27, 2026
·
3 revisions
That optional destination in the grammar — (SP '>' SP state_name)? — is not an accident. An event name on
its own, with no > and no destination, means the event is accepted in this state and deliberately ignored:
Consider the door's OPENING state:
transitions
Door opened > OPEN
Passenger close > CLOSING
Passenger open
Lock
Those last two events are ignored. It makes sense since if the door is already in the process of opening any open button presses by a passenger would simply be ignored in the real world.
Notice then that ignore event reponses are proper system behavior, not errors!
Copyright 2023-2026 © Leon Starr under MIT Open Source License