Spec-Zone.ru › Deno 1

WebAssembly.instantiateStreaming

The WebAssembly.instantiateStreaming() function compiles and instantiates a WebAssembly module directly from a streamed underlying source. This is the most efficient, optimized way to load wasm code.

MDN

function instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
instantiateStreaming(response: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>

Parameters

response: Response | PromiseLike<Response>
importObject?: Imports optional

Return Type

Promise<WebAssemblyInstantiatedSource>

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/WebAssembly.instantiateStreaming

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API