function setEnvironmentData
Usage
import { setEnvironmentData } from "node:worker_threads";
The worker.setEnvironmentData() API sets the content ofworker.getEnvironmentData() in the current thread and all new Workerinstances spawned from the current context.
value: Serializable
Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new Worker instances. If value is passed as undefined, any previously set value
for the key will be deleted.