File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -623,7 +623,7 @@ circularData.foo = circularData;
623
623
port2 .postMessage (circularData);
624
624
```
625
625
626
- ` transferList ` may be a list of [ ` ArrayBuffer ` ] [ ] , [ ` MessagePort ` ] [ ] and
626
+ ` transferList ` may be a list of [ ` ArrayBuffer ` ] [ ] , [ ` MessagePort ` ] [ ] , and
627
627
[ ` FileHandle ` ] [ ] objects.
628
628
After transferring, they are not usable on the sending side of the channel
629
629
anymore (even if they are not contained in ` value ` ). Unlike with
@@ -826,8 +826,8 @@ Most Node.js APIs are available inside of it.
826
826
827
827
Notable differences inside a Worker environment are:
828
828
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.
831
831
* The [ ` require('node:worker_threads').isMainThread ` ] [ ] property is set to ` false ` .
832
832
* The [ ` require('node:worker_threads').parentPort ` ] [ ] message port is available.
833
833
* [ ` process.exit() ` ] [ ] does not stop the whole program, just the single thread,
You can’t perform that action at this time.
0 commit comments