Closed borissmidt closed 3 years ago
I cherry picked the best part. I.e. just to set the client size and some options. It is important to wrap in a task because a DEADLINE start to run the moment you set it and not the moment you call it.
Maybe it would be best to fully match this? https://github.com/grpc/grpc-java/blob/d4fa0ecc07495097453b0a2848765f076b9e714c/stub/src/main/java/io/grpc/stub/AbstractStub.java
I cherry picked the best part. I.e. just to set the client size and some options. It is important to wrap in a task because a DEADLINE start to run the moment you set it and not the moment you call it.
Maybe it would be best to fully match this? https://github.com/grpc/grpc-java/blob/d4fa0ecc07495097453b0a2848765f076b9e714c/stub/src/main/java/io/grpc/stub/AbstractStub.java