GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix the path to postMessage() · nodejs/node@ebd2027

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • worker_threads.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ added: v10.5.0
354354
* `value` {any} The transmitted value
355355

356356
The `'message'` event is emitted when the worker thread has invoked
357-
[`require('worker_threads').postMessage()`][]. See the [`port.on('message')`][]
358-
event for more details.
357+
[`require('worker_threads').parentPort.postMessage()`][].
358+
See the [`port.on('message')`][] event for more details.
359359

360360
### Event: 'online'
361361
<!-- YAML
@@ -482,7 +482,7 @@ active handle in the event system. If the worker is already `unref()`ed calling
482482
[`require('worker_threads').isMainThread`]: #worker_threads_worker_ismainthread
483483
[`require('worker_threads').parentPort.on('message')`]: #worker_threads_event_message
484484
[`require('worker_threads').parentPort`]: #worker_threads_worker_parentport
485-
[`require('worker_threads').postMessage()`]: #worker_threads_worker_postmessage_value_transferlist
485+
[`require('worker_threads').parentPort.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist
486486
[`require('worker_threads').threadId`]: #worker_threads_worker_threadid
487487
[`require('worker_threads').workerData`]: #worker_threads_worker_workerdata
488488
[`trace_events`]: tracing.html

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.