Skip to content

Commit 1a2ed98

Browse files
watildejuanarbol
authored andcommitted
doc: fix duplicate word "of of" in postMessageToThread
PR-URL: #62917 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 99ff83a commit 1a2ed98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/worker_threads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ parent or child of the current thread.
505505
If the two threads are parent-children, use the [`require('node:worker_threads').parentPort.postMessage()`][]
506506
and the [`worker.postMessage()`][] to let the threads communicate.
507507

508-
The example below shows the use of of `postMessageToThread`: it creates 10 nested threads,
508+
The example below shows the use of `postMessageToThread`: it creates 10 nested threads,
509509
the last one will try to communicate with the main thread.
510510

511511
```mjs

0 commit comments

Comments
 (0)