nathanboktae / q-xhr

XMLHttpRequest using powerful Q promises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there anyway to cancel an ongoing request?

murillo128 opened this issue · comments

I would like to be able to cancel an ongoing request, is it anyway of doing it like by rejecting the promise or something?

No it's not supported. q-xhr can only reject or resolve the promise. BTW q doesn't support cancellation (kriskowal/q#64)