Skip to main content

reset_wake_deadline

Function reset_wake_deadline 

Source
pub fn reset_wake_deadline(deadline: Res<'_, WakeDeadline>)
Expand description

Clears WakeDeadline at the top of every tick (registered in TickStage::Input, chained before the Systems stage where drivers request), so a deadline nobody renews stops waking the loop.