Function countdown_until_program_ends
Source pub fn countdown_until_program_ends(seconds_spent_running: u32, duration: u32)
Expand description
Updates the user on decoding progress with a countdown timer.
§Arguments
seconds_spent_running - Number of seconds elapsed
duration - Total duration allowed for decoding
§Note
Progress updates are shown every 5 seconds until the duration is reached.