I have one scenario on click on tab, api call and fetch the data, if user clicks multiple time when the promise is pending it should cancel that request, can we do it in JavaScript?
Asked
Active
Viewed 87 times