Skip to main content
Improve punctuation, capitalization.
Source Link
Pang
  • 9.9k
  • 146
  • 85
  • 124

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.

there is no reliable way to do it, and I would not even try it, once the request is on the go; the only way to react reasonably is to ignore the response.

in most cases, it may happen in situations like: a user clicks too often on a button triggering many consecutive XHR, here you have many options, either block the button till XHR is returned, or dont even trigger new XHR while another is running hinting the user to lean back - or discard any pending XHR response but the recent.

There is no reliable way to do it, and I would not even try it; once the request is on the go, the only way to react reasonably is to ignore the response.

In most cases, it may happen in situations like: a user clicks too often on a button, triggering many consecutive XHR. Here, you have many options: either block the button till XHR is returned, or don't even trigger new XHR while another is running, hinting the user to lean back - or discard any pending XHR response but the recent.

Source Link
comeGetSome
  • 2k
  • 19
  • 20

there is no reliable way to do it, and I would not even try it, once the request is on the go; the only way to react reasonably is to ignore the response.

in most cases, it may happen in situations like: a user clicks too often on a button triggering many consecutive XHR, here you have many options, either block the button till XHR is returned, or dont even trigger new XHR while another is running hinting the user to lean back - or discard any pending XHR response but the recent.