content icon indicating copy to clipboard operation
content copied to clipboard

feat: add support for abort signals in async data fetching

Open OrbisK opened this issue 2 months ago • 1 comments

🔗 Linked issue

❓ Type of change

  • [ ] 📖 Documentation (updates to the documentation or readme)
  • [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
  • [ ] 👌 Enhancement (improving an existing functionality like performance)
  • [x] ✨ New feature (a non-breaking change that adds functionality)
  • [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

With Nuxt 4.2.0 it is possible to abort asyncData handlers.

If this approach is approved, I will update the documentation.

[!NOTE] This will benefit all remote queries, because WASM queries are not (yet?) cancellable.

📝 Checklist

  • [ ] I have linked an issue or discussion.
  • [ ] I have updated the documentation accordingly.

OrbisK avatar Oct 31 '25 19:10 OrbisK

@OrbisK is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 31 '25 19:10 vercel[bot]