NodeWorker.SetEnvironmentData method
Sets the environment data in the current thread and all new Worker instances spawned from the current context.
C#
public static void SetEnvironmentData(JSValue key, JSValue value)
See Also
- struct JSValue
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop