diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 362cad18023..1c8a08042da 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -64,11 +64,15 @@ specifically `argv` and `execArgv` options. ## `worker.getEnvironmentData(key)` -> Stability: 1 - Experimental - * `key` {any} Any arbitrary, cloneable JavaScript value that can be used as a {Map} key. * Returns: {any} @@ -290,11 +294,15 @@ new Worker('process.env.SET_IN_WORKER = "foo"', { eval: true, env: SHARE_ENV }) ## `worker.setEnvironmentData(key[, value])` -> Stability: 1 - Experimental - * `key` {any} Any arbitrary, cloneable JavaScript value that can be used as a {Map} key. * `value` {any} Any arbitrary, cloneable JavaScript value that will be cloned