pub fn interval(period: Duration) -> IntervalExpand description
Stream + tick-future hybrid that yields every period, with the
first item delivered immediately. Matches tokio::time::interval
ergonomically (.tick().await -> Instant) AND exposes
Stream<Item = ()> for callers that prefer that shape.