GitHub

runner_server

API reference for runner_server.

The server half of the runner protocol (Effect's RunnerServer): handlers for the Runners.Rpcs that other runners send, handing each message to Sharding and answering persisted requests from MessageStorage. layer serves them over the ServerProtocol in the context; layer_with_clients adds Sharding and the RPC Runners, and layer_client_only gives a process that serves nothing and owns no shards its own Sharding and Runners.

Values

AttributeTypeDescription
layer_handlersLayer[HandlersFor[Rpcs], Never, Sharding | MessageStorage | ServerProtocol]

The handlers of the runner protocol (Effect's layerHandlers).

layerLayer[Never, Never, ServerProtocol | Sharding | MessageStorage]

A runner server over the ServerProtocol in the context (Effect's RunnerServer.layer): it answers pings and hands the messages of other runners to Sharding.

layer_with_clientsLayer[Sharding | Runners, Never, ServerProtocol | ShardingConfig | RpcClientProtocol | MessageStorage | RunnerStorage | RunnerHealth]

A runner server with the Sharding and RPC Runners it serves (Effect's layerWithClients).

layer_client_onlyLayer[Sharding | Runners, Never, ShardingConfig | RpcClientProtocol | MessageStorage | RunnerStorage]

Sharding and Runners for a process that sends to the cluster but serves no runner RPCs and owns no shards: its runner_address is cleared (Effect's layerClientOnly).