Function leptos::request_idle_callback
source · pub fn request_idle_callback(cb: impl Fn() + 'static)
Expand description
Queues the given function during an idle period using
Window.requestIdleCallback
.
pub fn request_idle_callback(cb: impl Fn() + 'static)
Queues the given function during an idle period using
Window.requestIdleCallback
.