how can I invoke a trpc call inside a nested function?

I know it isn't directly possible. But is there a workaround?
Was this page helpful?