Function mozjs::jsapi::InitDispatchToEventLoop

source ยท
pub unsafe extern "C" fn InitDispatchToEventLoop(
    cx: *mut JSContext,
    callback: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut Dispatchable) -> bool>,
    closure: *mut c_void,
)