Files
node/doc/api
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
..
2021-02-22 12:30:52 +01:00
2021-03-08 19:20:16 +01:00
2021-02-08 10:25:27 -08:00
2021-03-11 09:00:05 -08:00
2020-11-13 06:02:16 -08:00
2021-02-02 21:50:24 +01:00
2021-03-09 10:12:53 -06:00
2021-02-22 12:27:53 +01:00
2021-03-08 17:40:13 -05:00
2021-02-23 11:47:40 -08:00
2021-02-08 09:08:37 -08:00
2021-02-22 12:30:52 +01:00
2021-03-10 16:31:16 -05:00
2021-02-17 10:12:01 -05:00
2021-02-22 12:30:52 +01:00
2020-11-24 08:26:26 -08:00
2021-02-01 05:42:27 -08:00
2021-02-17 21:20:34 -05:00
2021-02-22 12:18:19 +01:00
2021-01-25 06:51:15 -08:00
2020-11-24 08:26:26 -08:00
2020-11-20 20:59:53 +00:00
2021-02-27 11:52:27 -08:00
2020-10-06 15:52:10 -07:00