sbbu
Call and await multiple mutations within one clientside procedure
hey all, does anyone know of a nice way to call & await multiple tRPC requests inside a procedure or within one mutation?
reason being is i'm building a blockchain app, and we have to implement flows like this:
setting up a flow like this gets pretty complicated with a bunch of
useMutation()
s and onSuccess
callbacks.. ideally it would really be something like
is something like this possible? so far i've been setting up chains of onSuccess
callbacks but doing it that way can get really convoluted with flows like this3 replies