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#
| Attribute | Type | Description |
|---|---|---|
layer_handlers | Layer[HandlersFor[Rpcs], Never, Sharding | MessageStorage | ServerProtocol] | The handlers of the runner protocol (Effect's |
layer | Layer[Never, Never, ServerProtocol | Sharding | MessageStorage] | A runner server over the |
layer_with_clients | Layer[Sharding | Runners, Never, ServerProtocol | ShardingConfig | RpcClientProtocol | MessageStorage | RunnerStorage | RunnerHealth] | A runner server with the |
layer_client_only | Layer[Sharding | Runners, Never, ShardingConfig | RpcClientProtocol | MessageStorage | RunnerStorage] |
|
On This Page
Values