#Abort Astro Actions
4 messages · Page 1 of 1 (latest)
Hi! You can use https://docs.astro.build/en/reference/modules/astro-actions/#getactionpath for more advanced usecases
Oh, very nice! Thanks for the promt feedback! 🙂
You're welcome!
4 messages · Page 1 of 1 (latest)
Hey, I'm currently migrating tRPC handlers to Astro Actions. I was wondering if it's possible to abort an Astro action, when calling them from client code, e.g. a Vue components. For fetch calls it would be possible to pass a signal from an AbortController.
Hi! You can use https://docs.astro.build/en/reference/modules/astro-actions/#getactionpath for more advanced usecases
Oh, very nice! Thanks for the promt feedback! 🙂
You're welcome!