Type Alias foca::TimerToken
source · pub type TimerToken = u8;
Expand description
TimerToken
is simply a bookkeeping mechanism to try and prevent
reacting to events dispatched that aren’t relevant anymore.
Certain interactions may cause Foca to decide to disregard every event it scheduled previously- so it changes the token in order to drop everything that doesn’t match.
Similar in spirit to crate::ProbeNumber
.