I am working with a VS Code client that sends requests to a server using the following code:
client.sendRequest(req, cursor).then((answer)=> {
processing...
})
If for some valid reason the server does not send any response, what will happen?
Is there a way for me to handle this scenario and display a message accordingly?