[][src]Function kwait::until

pub fn until<F>(f: F, period: Duration, stop_ch: Receiver<bool>) where
    F: Fn(), 

until loops until stop channel is closed, running f every period.

until is syntactic sugar on top of jitter_until with zero jitter factor and with sliding = true (which means the timer for period starts after the f completes).