Function relay_utils::interval
source · pub fn interval(timeout: Duration) -> impl Stream<Item = ()>
Expand description
Stream that emits item every timeout_ms
milliseconds.
pub fn interval(timeout: Duration) -> impl Stream<Item = ()>
Stream that emits item every timeout_ms
milliseconds.