Function mozjs::jsapi::SetModuleMetadataHook
source ยท pub unsafe extern "C" fn SetModuleMetadataHook(
rt: *mut JSRuntime,
func: Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<Value>, _: Handle<*mut JSObject>) -> bool>,
)
Expand description
Set the hook for populating the import.meta metadata object to the given function.