2 Replies
Have you attempted doing this? https://trpc.io/docs/client/aborting-procedure-calls
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.
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.