-
Interfaces Interface Description org.curioswitch.common.server.framework.grpc.GrpcProductionComponent Define theListenableFuture<Resp> execute()
in your components. When usingBindsInstance
, the boilerplate savings of this interface are too low to warrant it.org.curioswitch.common.server.framework.grpc.GrpcProductionComponent.GrpcProductionComponentBuilder UseBindsInstance
instead of passing theProducerModule
into the component. All modules should be abstract.
-
Methods Method Description org.curioswitch.common.server.framework.grpc.GrpcGraphUtil.unary(StreamObserver<Resp>, Provider<C>) UseGrpcGraphUtil.unary(ListenableFuture, StreamObserver)
. The boilerplate removal of.get().execute()
is not worth having to implement interfaces.