AkkaGrpcClient

akka.grpc.scaladsl.AkkaGrpcClient
@DoNotInherit

Common trait of all generated Akka gRPC clients. Not for user extension.

Attributes

Source:
AkkaGrpcClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def close(): Future[Done]

Initiates a shutdown in which preexisting and new calls are cancelled.

Initiates a shutdown in which preexisting and new calls are cancelled.

This method is only valid for clients that use an internal channel. If the client was created with a shared user-provided channel, the channel itself should be closed.

Attributes

Throws:
akka.grpc.GrpcClientCloseException

if client was created with a user-provided akka.grpc.GrpcChannel.

Source:
AkkaGrpcClient.scala
def closed: Future[Done]

A Future that completes successfully when shutdown via close() or exceptionally if a connection can not be established or reestablished after maxConnectionAttempts.

A Future that completes successfully when shutdown via close() or exceptionally if a connection can not be established or reestablished after maxConnectionAttempts.

Attributes

Source:
AkkaGrpcClient.scala