[][src]Function iced::time::every

pub fn every(duration: Duration) -> Subscription<Instant>
This is supported on feature="tokio" or feature="async-std" only.

Returns a Subscription that produces messages at a set interval.

The first message is produced after a duration, and then continues to produce more messages every duration after that.