Haaxor1689H
tRPC3y ago
6 replies
Haaxor1689

Report progress of mutation

I'm using tRPC in a electron app and am running a nodeWorker from main thread. Is there a way to report partial progress to
useMutation
in renderrer thread? I know I could use subscription but is this possible with mutation?
Solution
mutations typically follow the request/response pattern. A subscription is probably required.
Was this page helpful?