This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

Function yew::platform::time::interval

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

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