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()
.
pub fn set_timeout(cb: impl FnOnce() + 'static, duration: Duration)
Executes the given function after the given duration of time has passed.
setTimeout()
.