Open tbischoff2 opened 2 months ago
Hi Tino, thanks for raising this issue!
How about we add the following clarification to the OperationRequest class:
clientTimeoutDuration | Duration indicating when the client suggests the server to have finished execution of the invoked operation. The server may take this value into account to decide on its effective timeout, however, the server may or may not use by its own discretion.
In particular, this means that it's not meant for the direct response, e.g., "Accepted" for async operations but for the actual execution itself.
Thanks for the clarification. That makes clear, that the timeout refers to the execution itself. However, in my opinion, the parameter doesn't really make sense in that case. I can't see a benefit for the client in specifying this parameter. But anyway, that would be ok for me like that.
For InvokeOperationAsync, one of the input parameters is the clientTimeoutDuration. What does the timeout refer to? Does the timeout refer only to the answer of the server or also to the execution of the operation itself? So, what is the expected behavior, when the execution of the operation takes longer than the specified timeout?
In case of 1: does the timeout in that case make any sense at all (in case of asynchronous operation)?