|
Is it possible to set a per-call timeout using wire gRPC for Kotlin? I am looking to do something like: Is this possible? I know I could probably recreate this by using the suspend-able API, but I wondered if there was a more idiomatic way to accomplish this |
Answered by
ncteisen
Oct 4, 2022
Replies: 3 comments 2 replies
|
You can set the |
0 replies
|
|
2 replies
Answer selected by
ncteisen
|
This just adds a header to the call without actually enforcing the timeout as far as I can tell. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
timeoutis a val field, so it cannot be set. Do you have any code examples of overriding it?