Commit badf72d 1 parent 776e746 commit badf72d Copy full SHA for badf72d
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 @@ -629,7 +629,7 @@ circularData.foo = circularData;
629
629
port2 .postMessage (circularData);
630
630
```
631
631
632
- ` transferList ` may be a list of [ ` ArrayBuffer ` ] [ ] , [ ` MessagePort ` ] [ ] and
632
+ ` transferList ` may be a list of [ ` ArrayBuffer ` ] [ ] , [ ` MessagePort ` ] [ ] , and
633
633
[ ` FileHandle ` ] [ ] objects.
634
634
After transferring, they are not usable on the sending side of the channel
635
635
anymore (even if they are not contained in ` value ` ). Unlike with
@@ -832,8 +832,8 @@ Most Node.js APIs are available inside of it.
832
832
833
833
Notable differences inside a Worker environment are:
834
834
835
- * The [ ` process.stdin ` ] [ ] , [ ` process.stdout ` ] [ ] and [ ` process.stderr ` ] [ ]
836
- may be redirected by the parent thread.
835
+ * The [ ` process.stdin ` ] [ ] , [ ` process.stdout ` ] [ ] , and [ ` process.stderr ` ] [ ]
836
+ streams may be redirected by the parent thread.
837
837
* The [ ` require('node:worker_threads').isMainThread ` ] [ ] property is set to ` false ` .
838
838
* The [ ` require('node:worker_threads').parentPort ` ] [ ] message port is available.
839
839
* [ ` process.exit() ` ] [ ] does not stop the whole program, just the single thread,
You can’t perform that action at this time.
0 commit comments