News for hackers. Stuff that matters.
Re:Cancelable Promises: Why was this proposal withdrawn? by webartisan on Monday December 19, 2016 @08:33PM (#13216596)
I think cancelling HTTP requests is quite a useful in some scenarios. Eg 1) Say you're fetching heavy json/binary data on an user action, and before data arrives, he changes his action. Not only do ypu download all of the extra data, but the fetch for the next action is slowed down like hell.

Not sure, but does this mean that I can't cancel a heavy file upload if a user changes his mind?

There are no comments on this comment yet.