Package: @effect/platform-node
Module: NodeWorker
Provides the Node WorkerPlatform together with a Worker.Spawner created
from the supplied worker or child-process spawning function.
Signature
declare const layer: (spawn: (id: number) => WorkerThreads.Worker | ChildProcess.ChildProcess) => Layer.Layer<Worker.WorkerPlatform | Worker.Spawner>
Since v4.0.0