Struct gj::io::Timer [] [src]

pub struct Timer;

Methods

impl Timer
[src]

fn after_delay_ms(&self, delay: u64) -> Promise<()Error>

fn timeout_after_ms<T>(&self, delay: u64, promise: Promise<T, Error>) -> Promise<T, Error>