ZChannel

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

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ZChannel.type

Members list

Value members

Concrete methods

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

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

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

Value parameters

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.

Attributes