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:
parent
1e3a3470a5
commit
13ca021da3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user