Home
last modified time | relevance | path

Searched refs:getEnvironmentData (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/parallel/
Dtest-worker-environmentdata.js7 getEnvironmentData,
24 strictEqual(getEnvironmentData(1), 2);
29 strictEqual(getEnvironmentData('foo'), 'bar');
30 deepStrictEqual(getEnvironmentData('hello'), { value: 'world' });
31 strictEqual(getEnvironmentData(1), undefined);
33 strictEqual(getEnvironmentData(undefined), undefined);
/third_party/node/lib/
Dworker_threads.js8 getEnvironmentData,
40 getEnvironmentData, property
/third_party/node/lib/internal/
Dworker.js113 function getEnvironmentData(key) { function
516 getEnvironmentData, property
/third_party/node/doc/api/
Dworker_threads.md64 ## `worker.getEnvironmentData(key)`
80 Within a worker thread, `worker.getEnvironmentData()` returns a clone
90 getEnvironmentData,
97 console.log(getEnvironmentData('Hello')); // Prints 'World!'.
313 `worker.getEnvironmentData()` in the current thread and all new `Worker`
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md252 …* add setEnvironmentData/getEnvironmentData (James M Snell) [#37486](https://github.com/nodejs/nod…
353 …135e8316)] - **(SEMVER-MINOR)** **worker**: add setEnvironmentData/getEnvironmentData (James M Sne…
DCHANGELOG_V14.md316 …6bc58da8)] - **(SEMVER-MINOR)** **worker**: add setEnvironmentData/getEnvironmentData (James M Sne…
382 …6bc58da8)] - **(SEMVER-MINOR)** **worker**: add setEnvironmentData/getEnvironmentData (James M Sne…