MCPcopy
hub / github.com/vitejs/vite / worker.js

File worker.js

playground/wasm/worker.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import init from './add.wasm?init'
2init().then(({ exports }) => {
3 self.postMessage({ result: exports.add(1, 2) })
4})

Callers

nothing calls this directly

Calls 2

addMethod · 0.80
initFunction · 0.50

Tested by

no test coverage detected