Function leptos::set_timeout

source ยท
pub fn set_timeout(cb: impl FnOnce() + 'static, duration: Duration)
Expand description

Executes the given function after the given duration of time has passed. setTimeout().