DenoWorkerRunner
Runner-side Deno platform for Effect worker handlers using the standard MessagePort API.
Constructors
Layers
Layer that provides the worker runner platform using the global worker scope.
Signature
declare const layer: Layer.Layer<WorkerRunner.WorkerRunnerPlatform>;layerMessagePort
Added in v4.0.0
Source
Layer that provides the worker runner platform using the supplied MessagePort.
Signature
declare function layerMessagePort(port: MessagePort): Layer<WorkerRunnerPlatform>;
Creates a worker runner platform over a
MessagePort.