AbortController causes nested promises to reject
I'm using abortController with fetch and whenever I use it, I get a set of
A promise rejection was handled asynchronously
errors. The code is standard typescript with nested await/async functions, and it looks like that for some reason abort causes all pending awaits to reject. I have never seen anything like this before and I have tried adding catches, try/catch, etc. but nothing seems to work.
Has anybody had similar experiences with AbortController and workers?0 Replies