Trait stdweb::web::IWindowOrWorker
[−]
[src]
pub trait IWindowOrWorker: AsRef<Reference> { fn set_timeout<F: FnOnce()>(&self, callback: F, timeout: u32) { ... } }
The IWindowOrWorker
mixin describes several features common to
the Window
and the global scope of web workers.
Provided Methods
fn set_timeout<F: FnOnce()>(&self, callback: F, timeout: u32)
Sets a timer which executes a function once after the timer expires.
Implementors
impl IWindowOrWorker for Window