diff options
author | Tobias Nießen <tniessen@tnie.de> | 2022-05-28 15:09:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 15:09:47 +0300 |
commit | ca0044bd1d221df7d3efbf735a1a98e2e1fef731 (patch) | |
tree | 5de32e3968b8ac8123800315388aa82521631b7b /doc/api/worker_threads.md | |
parent | 0818b525ad966db1e859b94dafd7ab113447f053 (diff) |
doc: use serial comma in worker_threads docs
Refs: https://github.com/nodejs/node/pull/11321
Refs: https://github.com/nodejs/node/pull/17384
PR-URL: https://github.com/nodejs/node/pull/43220
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r-- | doc/api/worker_threads.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index e2935fab0d1..e6c4b30935b 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -633,7 +633,7 @@ circularData.foo = circularData; port2.postMessage(circularData); ``` -`transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][] and +`transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][], and [`FileHandle`][] objects. After transferring, they are not usable on the sending side of the channel anymore (even if they are not contained in `value`). Unlike with @@ -836,8 +836,8 @@ Most Node.js APIs are available inside of it. Notable differences inside a Worker environment are: -* The [`process.stdin`][], [`process.stdout`][] and [`process.stderr`][] - may be redirected by the parent thread. +* The [`process.stdin`][], [`process.stdout`][], and [`process.stderr`][] + streams may be redirected by the parent thread. * The [`require('node:worker_threads').isMainThread`][] property is set to `false`. * The [`require('node:worker_threads').parentPort`][] message port is available. * [`process.exit()`][] does not stop the whole program, just the single thread, |