Individual mutation requests error
Hello, quick question regarding the error handling for tRPC
So I'm creating kind of a chatroom where I use a combination of tRPC and Pusher to send and receive messages. I'm currently stuck though when sending multiple messages (where I'm assuming they get batched in some sort of way) and then one of the requests fails for something like ratelimiting which I will display as first send and then an error.
However, multiple of the other messages that get batched together are never gets their response, leaving them in an infinite sending state (see screenshot below)
Just wondering how I should handle when sending larger amounts of messages like this and/if im doing anything wrong on my end?
I will attach a code snippet below too (I know it's a clusterfuck, just dw abt it):
client:
server:
0 Replies