AkkaGrpcClient

@DoNotInherit

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

Source:
AkkaGrpcClient.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def close(): CompletionStage[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.

Throws:
akka.grpc.GrpcClientCloseException

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

Source:
AkkaGrpcClient.scala
def closed(): CompletionStage[Done]