File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ correlation between tasks and their outcomes. See
5555[ "Using ` AsyncResource ` for a ` Worker ` thread pool"] [ async-resource-worker-pool ]
5656in the ` async_hooks ` documentation for an example implementation.
5757
58+ Worker threads inherit non-process-specific options by default. Refer to
59+ [ ` Worker constructor options ` ] [ ] to know how to customize worker thread options,
60+ specifically ` argv ` and ` execArgv ` options.
61+
5862## ` worker.isMainThread `
5963<!-- YAML
6064added: v10.5.0
@@ -768,6 +772,7 @@ active handle in the event system. If the worker is already `unref()`ed calling
768772[ `trace_events` ] : tracing.html
769773[ `v8.getHeapSnapshot()` ] : v8.html#v8_v8_getheapsnapshot
770774[ `vm` ] : vm.html
775+ [ `Worker constructor options` ] : #worker_threads_new_worker_filename_options
771776[ `worker.on('message')` ] : #worker_threads_event_message_1
772777[ `worker.postMessage()` ] : #worker_threads_worker_postmessage_value_transferlist
773778[ `worker.SHARE_ENV` ] : #worker_threads_worker_share_env
You can’t perform that action at this time.
0 commit comments