Yes as you said the response will wait until it is valid.
But my scenario is “To build a catalog” Basically it will have a set of items. As soon as the request is hit server will process it and gives back the response with some status Intilialization, Processing, or done. Due to server load, it might take some time to get the status to ‘Done’.
I need to wait till the status is moved to Done. We don’t any built-in wait keywords as in WebUI for Webservice request.