Function cgl_rs::utils::sleep

source ·
pub fn sleep(milis: size_t)
Expand description

Suspends the current thread for the specified amount of time.

Arguments

  • milis - The amount of time to sleep, in milliseconds.

Example

cgl_rs::utils::sleep(1000);