NodeWorker2
layerconstProvides the Node WorkerPlatform together with a Worker.Spawner created from the supplied worker or child-process spawning function.layerPlatformconstProvides the Node WorkerPlatform for worker_threads workers and child process workers, wiring messages, errors, and exits into Effect workers and terminating the worker if graceful shutdown times out.