MCPcopy Index your code
hub / github.com/nodejs/node / prepareWorkerThreadExecution

Function prepareWorkerThreadExecution

lib/internal/process/pre_execution.js:65–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65function prepareWorkerThreadExecution() {
66 prepareExecution({
67 expandArgv1: false,
68 isMainThread: false,
69 // Module loader initialization in workers are delayed until the worker thread
70 // is ready for execution.
71 initializeModules: false,
72 shouldSpawnLoaderHookWorker: false,
73 shouldPreloadModules: false,
74 });
75}
76
77function prepareShadowRealmExecution() {
78 // Patch the process object with legacy properties and normalizations.

Callers 1

worker_thread.jsFile · 0.85

Calls 1

prepareExecutionFunction · 0.85

Tested by

no test coverage detected