Aborting a T3 mutation

is there an easy way to abort a mutation from a t3 stack?
2 Replies
higgsboz
higgsboz2y 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
Radu2y 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