Skip to content

API reference > @kontsedal/olas-react > UseSuspenseQueryResult

UseSuspenseQueryResult type ​

What useSuspenseQuery (and useQuery(sub, { suspense: true })) returns.

Signature:

typescript
type UseSuspenseQueryResult<T> = Omit<UseQueryResult<T>, 'data'> & {
  data: T;
};

References: UseQueryResult

Released under the MIT License.