Answer: Fetch with retry, abort, etc
Shariq Waseem
Posted on May 9, 2024
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…
💖 💪 🙅 🚩
Shariq Waseem
Posted on May 9, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.