Aborting a T3 mutation

is there an easy way to abort a mutation from a t3 stack?
2 Replies
higgsboz
higgsboz17mo ago
Aborting Procedure Calls | tRPC
tRPC adheres to the industry standard when it comes to aborting procedures. All you have to do is pass an AbortSignal to the query or mutation options, and call the AbortController instance's abort method if you need to cancel the request.
Radu
Radu17mo ago
I saw the doc. It's not working out of the box. I did not figured out how to swap or update the createTRPCNext that is used when creating the T3 app.
Want results from more Discord servers?
Add your server