mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
2 lines
310 B
JavaScript
2 lines
310 B
JavaScript
const [s1, s2, j1, j2] = await Promise.all([WebAssembly.compileStreaming(fetch(import.meta.resolve("./x1.wasm"))), WebAssembly.compileStreaming(fetch(import.meta.resolve("./x2.wasm"))), fetch(import.meta.resolve("./x1.wasm")).then(r => r.json()), fetch(import.meta.resolve("./x2.wasm")).then(r => r.json())]);
|