CallDriver

scalapb.zio_grpc.server.CallDriver
See theCallDriver companion object
case class CallDriver[R, Req](listener: Listener[Req], run: ZIO[R, Status, Unit])

Represents a running request to be served by ZServerCallHandler

The listener is returned to grpc-java to feed input into the request.

The run represents an effect of running the request: it reads the input provided to the listener, and writes the response to an output channel. It handles interrupts by sending a cancel event through the channel.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product