3 ms·
...which is weird because in the elevator example, the state isn't being modified. The effect on the receiver, to use their terminology, is always to set the b
by Izkata 8y ago
...which is weird because in the elevator example, the state isn't being modified. The effect on the receiver, to use their terminology, is always to set the button to "on" or "called" or whatever you want to name it. Hence, the elevator button example is idempotent.
Quick edit: Someone else below makes a good point - in at least one part of the world, a second button press does act as "cancel". Maybe that's the confusion here?