Expand description
Timer implementations
Timers are created using the Timer struct.
There are two types of timers:
- The
TimerType::Warningtimer that emits a warning to the user’s configuredFromemail address upon expiration. - The
TimerType::DeadMantimer that will trigger the message and optional attachment to the user’s configuredToemail address upon expiration.
Structs§
Enums§
- Timer
Type - The timer enum.
Functions§
- file_
path - Get the persisted state file path.
- load_
or_ initialize - Load or initialize the persisted state file.
- persist_
state_ blocking - Blocking persistence of state.
- system_
time_ epoch