Function workflow_wasm::timers::set_interval
source · pub fn set_interval(
closure: &Closure<dyn FnMut()>,
timeout: u32
) -> Result<IntervalHandle, Error>
Expand description
Create JavaScript interval
pub fn set_interval(
closure: &Closure<dyn FnMut()>,
timeout: u32
) -> Result<IntervalHandle, Error>
Create JavaScript interval