Function yew::platform::time::interval

source ·
pub fn interval(period: Duration) -> impl Stream<Item = ()>
Expand description

Creates a Stream that yields an item after every period has elapsed.