Function schedule_recv::periodic [] [src]

pub fn periodic(duration: Duration) -> Receiver<()>

Starts a timer which, every duration, will issue a single .send(()) on the other side of the returned Receiver<()>.