await TRPC's useQuery

I want to use trpc's useQuery on the server side (in getServerProps)
is it possible to await for data to arrive before returning? i.e. await api.auth.checkLogin.useQuery()?
Was this page helpful?