WithGrpcClient

play.grpc.testkit.PekkoGrpcClientHelpers.WithGrpcClient
final class WithGrpcClient[T <: PekkoGrpcClient]

Runs a block of code with a gRPC client, closing the client afterwards.

Type parameters

T

The type of gRPC client.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply[U](f: T => U)(implicit factory: Configured[T]): U