All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalapb.zio_grpc.ZChannel.scala Maven / Gradle / Ivy

The newest version!
package scalapb.zio_grpc

import zio.ZIO
import io.grpc.ManagedChannel
import zio.Task

class ZChannel(
    private[zio_grpc] val channel: ManagedChannel,
    private[zio_grpc] val prefetch: Option[Int],
    interceptors: Seq[ZClientInterceptor]
) {
  def this(channel: ManagedChannel, interceptors: Seq[ZClientInterceptor]) =
    this(channel, None, interceptors)

  def shutdown(): Task[Unit] = ZIO.unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy