- default(
module_or_path?:
| { module_or_path: InitInput | Promise<InitInput> }
| InitInput
| Promise<InitInput>,
): Promise<InitOutput> Parameters
Optional
module_or_path:
| { module_or_path: InitInput | Promise<InitInput> }
| InitInput
| Promise<InitInput>
If
module_or_path
is {RequestInfo} or {URL}, makes a request and for everything else, callsWebAssembly.instantiate
directly.