Function leptos_dom::set_interval

source ·
pub fn set_interval(
    cb: impl Fn() + 'static,
    duration: Duration
) -> Result<IntervalHandle, JsValue>
Expand description

Repeatedly calls the given function, with a delay of the given duration between calls. See setInterval().