Skip to main content

should_pause_for_heat

Function should_pause_for_heat 

Source
pub fn should_pause_for_heat(temp_c: f32, threshold_c: f32) -> bool
Expand description

Whether to pause the pipeline for heat: at or above threshold_c the OS may kill the app, so the pipeline pauses until cooldown.