doc: fix worker threadId/destination typo

PR-URL: https://github.com/nodejs/node/pull/53933
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
Thomas Hunter II 2024-08-02 03:45:49 -07:00 committed by GitHub
parent 1e3a3470a5
commit 13ca021da3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.