Skip to content

Commit e861dcb

Browse files
tniessenguangwong
authored andcommitted
doc: use serial comma in worker_threads docs
Refs: nodejs/node#11321 Refs: nodejs/node#17384 PR-URL: nodejs/node#43220 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
1 parent 80dec2c commit e861dcb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/worker_threads.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ circularData.foo = circularData;
623623
port2.postMessage(circularData);
624624
```
625625

626-
`transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][] and
626+
`transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][], and
627627
[`FileHandle`][] objects.
628628
After transferring, they are not usable on the sending side of the channel
629629
anymore (even if they are not contained in `value`). Unlike with
@@ -826,8 +826,8 @@ Most Node.js APIs are available inside of it.
826826

827827
Notable differences inside a Worker environment are:
828828

829-
* The [`process.stdin`][], [`process.stdout`][] and [`process.stderr`][]
830-
may be redirected by the parent thread.
829+
* The [`process.stdin`][], [`process.stdout`][], and [`process.stderr`][]
830+
streams may be redirected by the parent thread.
831831
* The [`require('node:worker_threads').isMainThread`][] property is set to `false`.
832832
* The [`require('node:worker_threads').parentPort`][] message port is available.
833833
* [`process.exit()`][] does not stop the whole program, just the single thread,

0 commit comments

Comments
 (0)