Skip to content

Commit 1cafefd

Browse files
tlhuntertargos
authored andcommitted
doc: fix worker threadId/destination typo
PR-URL: #53933 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]>
1 parent 98fed76 commit 1cafefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/worker_threads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ added: v22.5.0
260260

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

0 commit comments

Comments
 (0)