effect-io-ai

Package: @effect/cluster
Module: RunnerServer

RunnerServer.layerClientOnly

A Runners layer that is client only.

It will not register with RunnerStorage and recieve shard assignments, so this layer can be used to embed a cluster client inside another effect application.

Signature

declare const layerClientOnly: Layer.Layer<Sharding.Sharding | Runners.Runners, never, MessageStorage.MessageStorage | RunnerStorage.RunnerStorage | ShardingConfig | Runners.RpcClientProtocol>

Source

Since v1.0.0