We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af6e439 commit c56ddc7Copy full SHA for c56ddc7
doc/api/worker_threads.md
@@ -81,6 +81,7 @@ added: v10.5.0
81
82
An integer identifier for the current thread. On the corresponding worker object
83
(if there is any), it is available as [`worker.threadId`][].
84
+This value is unique for each [`Worker`][] instance inside a single process.
85
86
## worker.workerData
87
<!-- YAML
@@ -453,6 +454,7 @@ added: v10.5.0
453
454
455
An integer identifier for the referenced thread. Inside the worker thread,
456
it is available as [`require('worker_threads').threadId`][].
457
+This value is unique for each `Worker` instance inside a single process.
458
459
### worker.unref()
460
0 commit comments