Function async_timer::timer::new_timer

source ·
pub const fn new_timer(timeout: Duration) -> Platform
Expand description

Creates new timer, timer type depends on platform.