Function leptos_dom::helpers::set_interval_with_handle
source · pub fn set_interval_with_handle(
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,
returning a cancelable handle.
See setInterval()
.