Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
imaginology
· 10y ago · 0 comments
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.
Comments
[–]
azernik
10y ago
Cancel the requests, or cancel the callback chain that's set up to fire when they complete?
[–]
k__
10y ago
Essential? Why?
[–]
TheAceOfHearts
10y ago
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.