Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xdg/vendor/types/deno.d.ts>WebAssembly.instantiateStreaming

Determine XDG Base Directory paths (OS/platform portable)
Latest
function WebAssembly.instantiateStreaming
import { WebAssembly } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.d.ts";
const { instantiateStreaming } = WebAssembly;

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 WebAssembly code.

MDN

Parameters

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