JS_SetPromiseHook

Function JS_SetPromiseHook 

Source
pub unsafe extern "C" fn JS_SetPromiseHook(
    rt: *mut JSRuntime,
    promise_hook: Option<unsafe extern "C" fn(*mut JSContext, u32, JSValue, JSValue, *mut c_void)>,
    opaque: *mut c_void,
)