angular-restmod icon indicating copy to clipboard operation
angular-restmod copied to clipboard

$abort() method to abort pending http request

Open smashercosmo opened this issue 10 years ago • 1 comments

$cancel() method doesn't affect http request, so we need either extend $cancel() or add new $abort() method.

smashercosmo avatar Aug 19 '14 16:08 smashercosmo

I think a new $abort method is better, since $cancel only discards pending requests. I think is simple enough to make it to 1.1. I'm yet to confirm the naming and the proper api with the rest of the team.

iobaixas avatar Aug 21 '14 02:08 iobaixas