- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for instantiateStreaming (0.17 sec)
-
misc/wasm/wasm_exec.html
<script src="wasm_exec.js"></script> <script> if (!WebAssembly.instantiateStreaming) { // polyfill WebAssembly.instantiateStreaming = async (resp, importObject) => { const source = await (await resp).arrayBuffer(); return await WebAssembly.instantiate(source, importObject); }; } const go = new Go(); let mod, inst; WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => {
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Oct 02 17:25:11 GMT 2018 - 1.3K bytes - Viewed (0)