Function iced_futures::time::every[][src]

pub fn every<H: Hasher, E>(duration: Duration) -> Subscription<H, E, Instant>
This is supported on crate features tokio or async-std or smol 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.