NodeWorker.GetEnvironmentData method
Within a worker thread, returns a clone of data passed to the spawning thread's SetEnvironmentData
. Every new Worker receives its own copy of the environment data automatically.
C#
public static JSValue GetEnvironmentData(JSValue key)
See Also
- struct JSValue
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop