We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234f981 commit 8ebe0d7Copy full SHA for 8ebe0d7
doc/api/worker_threads.md
@@ -1232,7 +1232,13 @@ changes:
1232
* `name` {string} An optional `name` to be replaced in the thread name
1233
and to the worker title for debugging/identification purposes,
1234
making the final title as `[worker ${id}] ${name}`.
1235
- **Default:** `'WorkerThread'`.
+ This parameter has a maximum allowed size, depending on the operating
1236
+ system. If the provided name exceeds the limit, it will be truncated
1237
+ * Maximum sizes:
1238
+ * Windows: 32,767 characters
1239
+ * macOS: 64 characters
1240
+ * Other systems: 16 characters
1241
+ **Default:** `'WorkerThread'`.
1242
1243
### Event: `'error'`
1244
0 commit comments