Files
node/lib
James M Snell 802b3e7cf9 worker: add setEnvironmentData/getEnvironmentData
These APIs allow arbitrary, cloneable JavaScript values to be set and
passed to all new Worker instances spawned from the current context.
It is similar to `workerData` except that environment data is set
independently of the `new Worker()` constructor, and the the value is
passed automatically to all new Workers.

This is a *partial* fix of https://github.com/nodejs/node/issues/30992
but does not implement a complete fix.

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/37486
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-03-15 07:40:26 -07:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2021-01-22 19:54:34 -08:00
2021-01-22 19:56:34 -08:00
2021-03-13 11:17:48 -08:00
2021-03-13 11:17:48 -08:00
2020-12-29 16:06:05 +01:00
2021-02-11 19:30:28 +05:30
2021-01-30 07:49:28 -08:00
2021-03-03 19:53:24 +01:00
2021-01-28 12:53:50 +01:00
2021-03-03 19:53:24 +01:00
…
2021-02-11 19:30:28 +05:30
2020-12-28 19:47:41 +00:00