Function script::dom::bindings::import::module::jsapi::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.