Function web::set_timeout

source ·
pub fn set_timeout(
    handler: impl FnMut() + 'static + Send + Sync,
    ms: impl Into<f64>
) -> TimerHandle