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

File worker.js

test/hotCases/worker/move-between-runtime/worker.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export default fn => {
2 self.onmessage = async ({ data: msg }) => {
3 try {
4 switch (msg) {

Callers

nothing calls this directly

Calls 3

postMessageMethod · 0.80
checkMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected