[][src]Function stdweb::web::wait

Important traits for Wait
pub fn wait(ms: u32) -> Wait

Creates a Future which will return () after ms milliseconds have passed.

It might return a long time after ms milliseconds have passed, but it will never return before ms milliseconds have passed.

(JavaScript docs)