Skip to main content

Interface: UseLazyQueryOptions<TData>#

Type parameters#

Name
TData

Properties#

fetchPolicy#

Optional fetchPolicy: LazyFetchPolicy

Defined in: react/src/query/useLazyQuery.ts:18


onCompleted#

Optional onCompleted: (data: TData) => void

Type declaration:#

▸ (data: TData): void

Parameters:#

NameType
dataTData

Returns: void

Defined in: react/src/query/useLazyQuery.ts:16


onError#

Optional onError: OnErrorHandler

Defined in: react/src/query/useLazyQuery.ts:17


retry#

Optional retry: RetryOptions

Defined in: react/src/query/useLazyQuery.ts:19


suspense#

Optional suspense: boolean

Defined in: react/src/query/useLazyQuery.ts:20

Last updated on by Sam Denty