Function opentelemetry::util::tokio_interval_stream[][src]

pub fn tokio_interval_stream(period: Duration) -> IntervalStream

Helper which wraps tokio::time::interval and makes it return a stream