From 701a2402358a9b671044520aa473e6d9a223caff Mon Sep 17 00:00:00 2001 From: Thomas Hunter II Date: Thu, 18 Jul 2024 14:19:47 -0700 Subject: [PATCH] docs: fix worker threadId/destination typo --- doc/api/worker_threads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 35300b883599e5..b5f73d057bee77 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -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.