Function SetModuleResolveHook

Source
pub unsafe extern "C" fn SetModuleResolveHook(
    rt: *mut JSRuntime,
    func: Option<unsafe extern "C" fn(*mut JSContext, Handle<Value>, Handle<*mut JSObject>) -> *mut JSObject>,
)
Expand description

Set the HostResolveImportedModule hook for the runtime to the given function.