gj::io
pub struct Timer;
impl Timer
fn after_delay(&self, delay: Duration) -> Promise<(), Error>
fn timeout_after<T>(&self, delay: Duration, promise: Promise<T, Error>) -> Promise<T, Error>