monix / monix-grpc

Apache License 2.0
6 stars 2 forks source link

Add custom options to the client calls #21

Closed borissmidt closed 3 years ago

borissmidt commented 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