Skip to content

Commit

Permalink
doc: fix worker threadId/destination typo
Browse files Browse the repository at this point in the history
PR-URL: #53933
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
  • Loading branch information
tlhunter authored and targos committed Aug 14, 2024
1 parent 98fed76 commit 1cafefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ added: v22.5.0

> Stability: 1.1 - Active development
* `destination` {number} The target thread ID. If the thread ID is invalid, a
* `threadId` {number} The target thread ID. If the thread ID is invalid, a
[`ERR_WORKER_MESSAGING_FAILED`][] error will be thrown. If the target thread ID is the current thread ID,
a [`ERR_WORKER_MESSAGING_SAME_THREAD`][] error will be thrown.
* `value` {any} The value to send.
Expand Down

0 comments on commit 1cafefd

Please sign in to comment.