WebAssembly.instantiateStreaming
Функция WebAssembly.instantiateStreaming() компилирует и инициализирует модуль WebAssembly напрямую из потокового исходного источника. Это самый эффективный и оптимизированный способ загрузки кода wasm.
function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>Тип возвращаемого значения
Promise<WebAssemblyInstantiatedSource>
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/WebAssembly.instantiateStreaming