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

Function interval

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

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