timeout_create

Function timeout_create 

Source
pub unsafe extern "C" fn timeout_create(
    seconds: f32,
    callback: Callback,
    shutdown_cleanup: Callback,
    userdata: *mut (),
) -> i32
Expand description

Execute the callback after the timeout. callback is expected to clean up the userdata. cleanup is called if the console is shut down before the timeout fires.