Skip to content

Commit

Permalink
worker: graduate get/setEnvironmentData APIs
Browse files Browse the repository at this point in the history
Signed-off-by: James M Snell <[email protected]>

PR-URL: #41272
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
jasnell authored and ruyadorno committed Feb 8, 2022
1 parent 0d471fb commit 869cbb7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ specifically `argv` and `execArgv` options.
added:
- v15.12.0
- v14.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/41272
description: No longer experimental.
-->

> Stability: 1 - Experimental
* `key` {any} Any arbitrary, cloneable JavaScript value that can be used as a
{Map} key.
* Returns: {any}
Expand Down Expand Up @@ -295,10 +297,12 @@ new Worker('process.env.SET_IN_WORKER = "foo"', { eval: true, env: SHARE_ENV })
added:
- v15.12.0
- v14.18.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/41272
description: No longer experimental.
-->

> 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
Expand Down

0 comments on commit 869cbb7

Please sign in to comment.