Function ntex_util::time::interval

source ยท
pub fn interval<T: Into<Millis>>(period: T) -> Interval
Expand description

Creates new Interval that yields with interval of period.

An interval will tick indefinitely. At any time, the Interval value can be dropped. This cancels the interval.