From 4ed720e940899076eb6b7fc0198b4a76266ee615 Mon Sep 17 00:00:00 2001 From: Harshitha KP Date: Thu, 16 Jan 2020 07:25:22 -0500 Subject: [PATCH] doc: visibility of Worker threads cli options Fixes: https://github.com/nodejs/node/issues/28518 PR-URL: https://github.com/nodejs/node/pull/31380 Fixes: https://github.com/nodejs/node/issues/28518 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- doc/api/worker_threads.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index b67d563fa6d10b..e773949b49df52 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -55,6 +55,10 @@ correlation between tasks and their outcomes. See ["Using `AsyncResource` for a `Worker` thread pool"][async-resource-worker-pool] in the `async_hooks` documentation for an example implementation. +Worker threads inherit non-process-specific options by default. Refer to +[`Worker constructor options`][] to know how to customize worker thread options, +specifically `argv` and `execArgv` options. + ## `worker.isMainThread`