thereThere is no reliable way to do it, and I would not even try it,it; once the request is on the go;go, the only way to react reasonably is to ignore the response.
inIn most cases, it may happen in situations like: a user clicks too often on a button, triggering many consecutive XHR. Here, here you have many options,: either block the button till XHR is returned, or dontdon't even trigger new XHR while another is running, hinting the user to lean back - or discard any pending XHR response but the recent.