This story was originally published on HackerNoon at:
https://hackernoon.com/the-truth-about-cancelling-asyncawait-youre-mostly-just-ignoring-results.
JavaScript can’t truly cancel async/await work—most “cancellation” just stops waiting.
Check more stories related to programming at:
https://hackernoon.com/c/programming.
You can also check exclusive content about
#javascript,
#tutorial,
#concurrency,
#cancel-async-await,
#cancel-promise-javascript,
#abortcontroller-js,
#abortsignal,
#promise-cancellation, and more.
This story was written by:
@hacker5295744. Learn more about this writer by checking
@hacker5295744's about page,
and for more stories, please visit
hackernoon.com.
JavaScript can’t truly cancel async/await work—most “cancellation” just stops waiting.