From 25e057e4f67a694d2bf0351126cfa2e4c46d0526 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 22 Jan 2019 22:38:18 +0100 Subject: [PATCH] doc: document uniqueness of worker.threadId PR-URL: https://github.com/nodejs/node/pull/25644 Reviewed-By: Colin Ihrig Reviewed-By: Daniel Bevenius --- doc/api/worker_threads.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index dbf85f9edd5082..840b831c903f6d 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -81,6 +81,7 @@ added: v10.5.0 An integer identifier for the current thread. On the corresponding worker object (if there is any), it is available as [`worker.threadId`][]. +This value is unique for each [`Worker`][] instance inside a single process. ## worker.workerData