MillRpcClientToServer

mill.rpc.MillRpcClientToServer
enum MillRpcClientToServer[+Data]

Protocol messages that are sent from client to the server.

Attributes

Source
MillRpcClientToServer.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Ask[+Data](id: MillRpcRequestId, data: Data)

Client is asking the server to do something.

Client is asking the server to do something.

Attributes

Source
MillRpcClientToServer.scala
final case class Response[+Data](id: MillRpcRequestId, data: Either[RpcThrowable, Data])

Response to server's MillRpcServerToClient.Ask which either succeeded or failed.

Response to server's MillRpcServerToClient.Ask which either succeeded or failed.

Attributes

Source
MillRpcClientToServer.scala