Function wait_until_end

Source
fn wait_until_end(cancel_token: Arc<AtomicBool>, duration_minutes: u32)
Expand description

A function that wats for the chosen time limit to end before exiting. The function will constantly check if the user wants to stop running of the program.