Home > @playerony/wasm-loader > TWasmFetcher
Asynchronously instantiates an AssemblyScript module from anything that can be instantiated.
Signature:
export declare type TWasmFetcher = <T extends Record<string, unknown>>(
path: string,
imports?: TImports,
) => Promise<loader.ASUtil & T>;
References: TImports