Function mozjs::jsapi::SetWaitCallback

source ยท
pub unsafe extern "C" fn SetWaitCallback(
    rt: *mut JSRuntime,
    beforeWait: Option<unsafe extern "C" fn(_: *mut u8) -> *mut c_void>,
    afterWait: Option<unsafe extern "C" fn(_: *mut c_void)>,
    requiredMemory: usize,
)