awaitTermination

Available in a dev version: 0․11․0-grpc-186

How to configure

abstract suspend fun awaitTermination(duration: Duration = Duration.INFINITE): GrpcServer(source)

Waits for the server to become terminated, giving up if the timeout is reached.

Calling this method before start or shutdown is permitted and doesn't change its behavior.

Return

this