Function schedule_recv::oneshot
[−]
[src]
pub fn oneshot(duration: Duration) -> Receiver<()>
Starts a timer which after duration
will issue a single .send(())
on the other side of the
returned Receiver<()>
.