This came up while investigating a — I believe — unrelated issue around hovering. I noticed when watching the debug logs for hover that it was being very noisy. This is because when the subject of the hover wasn't valid, I was resolving the Promise early, but not returning early, so it would still make the call to the ide process. I don't believe this was enough to cause serious lag, but it's still undesirable.
This came up while investigating a — I believe — unrelated issue around hovering. I noticed when watching the debug logs for hover that it was being very noisy. This is because when the subject of the hover wasn't valid, I was resolving the Promise early, but not returning early, so it would still make the call to the ide process. I don't believe this was enough to cause serious lag, but it's still undesirable.