Function delay

pub fn delay(ms: u32)
Available on crate feature dep_sdl3 only.
Expand description

Sleeps the current thread for the specified amount of milliseconds.

It’s recommended to use std::thread::sleep() instead.