DEV Community

Shariq Waseem
Shariq Waseem

Posted on

Answer: Fetch with retry, abort, etc

As I said in my comments, the code you have in your question does not provide a cancel() function that the caller can use. It has a cancel() function internally, but that's not something the caller can use. As written that function just returns a promise so the caller has…

Top comments (0)