Function carboxyl_time::every [] [src]

pub fn every(interval: Duration) -> Stream<Duration>

A stream that regularly fires an event.

The stream events describe the duration passed since the last occurence of an event (or for the first one the duration since the creation of the stream).

This function tries to regularly fire an event after the specified interval has passed. Of course, it might take longer than the specified time to process the event. In that case as many events as necessary will be skipped to keep up the pace.