support abort `signal` for direct fetch util
danielroe opened this issue · comments
Describe the feature
See: nuxt/nuxt#22684
We don't yet support AbortController
meaning that the fetch created with createFetch
does not have a way to cancel requests. This may be desirable, depending on the difficulty of implementing a signal, but I thought it would be worth tracking it all the same.
Additional information
- Would you be willing to help implement this feature?
Seems a good idea to have if possible. How do you imagine canceling a direct fetch (which is an async function call) though?