pub fn interval(period: Duration) -> impl Stream<Item = ()>
Creates a Stream that yields an item after every period has elapsed.