Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ worker.js
File
worker.js
test/hotCases/worker/remove-add-worker/worker.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
self.onmessage =
async
({ data }) => {
2
try {
3
if
(data !==
"compute"
) throw
new
Error(
"expected compute message"
);
4
self.postMessage(42);
Callers
nothing calls this directly
Calls
1
postMessage
Method · 0.80
Tested by
no test coverage detected