is there a way to call useQuery() from a callback and get the return value within that callback? - tRPC