node/doc/api
Yael Hermon 01cd21973b worker: enable passing command line flags
This PR adds the ability to provide Workers with their own
execArgv flags in replacement of the main thread's execArgv. Only
per-Isolate/per-Environment options are allowed. Per-Process options
and V8 flags are not allowed. Passing an empty execArgv array will
reset per-Isolate and per-Environment options of the Worker to their
defaults. If execArgv option is not passed, the Worker will get
the same flags as the main thread.

Usage example:
```
const worker = new Worker(__filename, {
    execArgv: ['--trace-warnings'],
});
```

PR-URL: https://github.com/nodejs/node/pull/25467
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2019-01-18 05:39:58 +01:00
..
addons.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
assert.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
async_hooks.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
buffer.md doc: fix typo in Buffer API 2019-01-18 02:40:19 +02:00
child_process.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
cli.md policy: manifest with subresource integrity checks 2019-01-17 09:43:42 -06:00
cluster.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
console.md 2018-12-18, Version 8.14.1 'Carbon' (LTS) 2018-12-18 11:29:17 -05:00
crypto.md doc: improve Sign/Verify examples and docs 2019-01-14 15:32:57 -08:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md doc: fix deprecations metadata 2019-01-10 13:42:02 -05:00
dgram.md 2018-12-07, Version 11.4.0 (Current) 2018-12-07 18:50:20 +01:00
dns.md doc: add missing metadata for dns.lookup 2018-09-19 21:11:51 +02:00
documentation.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
domain.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
errors.md worker: enable passing command line flags 2019-01-18 05:39:58 +01:00
esm.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
events.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
fs.md doc: update behaviour of fs.writeFile 2019-01-08 00:02:02 +01:00
globals.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
http2.md doc: add authority and scheme psuedo headers 2018-12-05 21:49:09 +02:00
http.md doc: add history to http.request.setTimeout() 2019-01-09 10:40:21 +02:00
https.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
index.md policy: manifest with subresource integrity checks 2019-01-17 09:43:42 -06:00
inspector.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
intl.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
modules.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
n-api.md doc: fix napi_open_callback_scope description 2019-01-13 23:03:35 +02:00
net.md doc: clarify timing of socket.connecting 2019-01-08 19:54:53 -08:00
os.md doc: update os.networkInterfaces() example 2019-01-11 21:35:05 +02:00
path.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
perf_hooks.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
policy.md policy: manifest with subresource integrity checks 2019-01-17 09:43:42 -06:00
process.md process: allow reading umask in workers 2019-01-17 16:32:21 -05:00
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
querystring.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
readline.md 2018-12-07, Version 11.4.0 (Current) 2018-12-07 18:50:20 +01:00
repl.md doc: add types and their corresponding return values 2018-11-02 00:36:40 +02:00
stream.md doc: revert incorrect change on readable._read 2019-01-15 09:44:45 +05:30
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
timers.md 2018-10-23, Version 11.0.0 (Current) 2018-10-23 11:03:02 -07:00
tls.md doc: add metadata about ecdh curve options 2019-01-17 12:41:26 +01:00
tracing.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
tty.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
url.md doc: list all versions WHATWG URL api was added 2018-12-05 15:08:38 -08:00
util.md lib: move DEP0029 to end of life 2019-01-10 09:00:22 -05:00
v8.md doc: fix, unify, formalize, and amplify vm.md 2019-01-11 22:21:44 +02:00
vm.md doc: fix section order in vm.md 2019-01-14 09:36:41 +01:00
worker_threads.md worker: enable passing command line flags 2019-01-18 05:39:58 +01:00
zlib.md doc: add documentation for brotli support 2019-01-05 21:36:48 +01:00