ZChannel

scalapb.zio_grpc.ZChannel$
See theZChannel companion class
object ZChannel

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def scoped[R](builder: => ManagedChannelBuilder[_], interceptors: Seq[ZClientInterceptor[R]], timeout: Duration): RIO[Scope, ZChannel[R]]

Create a scoped channel that will be shutdown when the scope closes.

Create a scoped channel that will be shutdown when the scope closes.

Attributes

builder

The channel builder to use to create the channel.

interceptors

The client call interceptors to use.

timeout

The maximum amount of time to wait for the channel to shutdown.