Skip to main content

checkpoint

Function checkpoint 

Source
pub fn checkpoint() -> Option<Duration>
Expand description

Record a checkpoint and return the suspend gap (if any) detected since the previous one. Call this once per main tick loop iteration.