Skip to main content

nap_rest

Function nap_rest 

Source
pub fn nap_rest(seconds: &Value) -> DogeResult
Expand description

nap.rest(seconds) — block for seconds (Int or Float). A negative, non-finite, or absurdly large duration is a catchable ValueError rather than the panic Duration::from_secs_f64 would raise on such an input.