Hacker News new | ask | show | jobs
by imaginology 3611 days ago
That depends on whether the Promise specification gets cancellations. I like fetch's clean API, but being able to cancel my ajax requests is essential.
2 comments

Cancel the requests, or cancel the callback chain that's set up to fire when they complete?
Essential? Why?
The big use-case I can think of is file uploads. If someone is uploading a large file, you wanna be able to cancel it.