Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/configCases/worker/node-worker-require/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Worker } from
"worker_threads"
;
2
3
it(
"should support ESM worker chunks in Node.js"
,
async
() => {
4
const
worker =
new
Worker(
Callers
nothing calls this directly
Calls
3
postMessage
Method · 0.80
terminate
Method · 0.80
it
Function · 0.50
Tested by
no test coverage detected