Function web_thread::sleep
source · pub fn sleep(dur: Duration)
Expand description
See std::thread::sleep()
.
§Panics
This call will panic if the calling thread doesn’t support blocking, see
web::has_block_support()
.
pub fn sleep(dur: Duration)
See std::thread::sleep()
.
This call will panic if the calling thread doesn’t support blocking, see
web::has_block_support()
.