We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a7397 commit 5a850eeCopy full SHA for 5a850ee
1 file changed
doc/api/worker_threads.md
@@ -513,7 +513,7 @@ parent or child of the current thread.
513
If the two threads are parent-children, use the [`require('node:worker_threads').parentPort.postMessage()`][]
514
and the [`worker.postMessage()`][] to let the threads communicate.
515
516
-The example below shows the use of of `postMessageToThread`: it creates 10 nested threads,
+The example below shows the use of `postMessageToThread`: it creates 10 nested threads,
517
the last one will try to communicate with the main thread.
518
519
```mjs
0 commit comments