MCPcopy
hub / github.com/webpack/webpack / compute.js

File compute.js

test/hotCases/worker/remove-add-worker/compute.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export default () => Promise.resolve(42);
2---
3export default async () => {
4 const worker = new Worker(new URL("worker.js", import.meta.url));

Callers

nothing calls this directly

Calls 4

resolveFunction · 0.85
postMessageMethod · 0.80
terminateMethod · 0.80
resolveMethod · 0.65

Tested by

no test coverage detected