axios-fetch icon indicating copy to clipboard operation
axios-fetch copied to clipboard

Abort requests via FetchInit signal abort

Open ziruihao opened this issue 3 years ago • 1 comments

The Fetch API provides a method for aborting an ongoing request. Is there a way to use this with the underlying axios engine, which relies on cancellation tokens?

There's currently stale discussion on axios to support signal.

ziruihao avatar Aug 01 '21 22:08 ziruihao

Interesting question and it looks like the linked Axios issue just merged. If there is something needed to support canceling in axios-fetch I'd love any contriubtion that adds support.

mdlavin avatar Sep 28 '21 14:09 mdlavin