Skip to main content

FinishLoadingImportedModule

Function FinishLoadingImportedModule 

Source
pub unsafe extern "C" fn FinishLoadingImportedModule(
    cx: *mut JSContext,
    referrer: Handle<*mut JSScript>,
    moduleRequest: Handle<*mut JSObject>,
    payload: Handle<Value>,
    result: Handle<*mut JSObject>,
    usePromise: bool,
) -> bool
Expand description

A function callback called by the host layer to indicate the call of HostLoadImportedModule has finished.

See https://tc39.es/ecma262/#sec-FinishLoadingImportedModule