| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 792335f commit dd2fc90
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -312,7 +312,7 @@ if (isMainThread) { | |||
| 312 | 312 | * `options` {Object} | |
| 313 | 313 | * `eval` {boolean} If true, interpret the first argument to the constructor | |
| 314 | 314 | as a script that is executed once the worker is online. | |
| 315 | - * `data` {any} Any JavaScript value that will be cloned and made | ||
| 315 | + * `workerData` {any} Any JavaScript value that will be cloned and made | ||
| 316 | 316 | available as [`require('worker_threads').workerData`][]. The cloning will | |
| 317 | 317 | occur as described in the [HTML structured clone algorithm][], and an error | |
| 318 | 318 | will be thrown if the object cannot be cloned (e.g. because it contains | |
| Back | FazBrowse Home | New Git URL |
0 commit comments