--- id: UseSuspenseInfiniteQueryOptions title: UseSuspenseInfiniteQueryOptions --- # Interface: UseSuspenseInfiniteQueryOptions\ Defined in: [preact-query/src/types.ts:128](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/types.ts#L128) ## Extends - `OmitKeyof`\<[`UseInfiniteQueryOptions`](UseInfiniteQueryOptions.md)\<`TQueryFnData`, `TError`, `TData`, `TQueryKey`, `TPageParam`\>, `"queryFn"` \| `"enabled"` \| `"throwOnError"` \| `"placeholderData"`\> ## Type Parameters ### TQueryFnData `TQueryFnData` = `unknown` ### TError `TError` = `DefaultError` ### TData `TData` = `TQueryFnData` ### TQueryKey `TQueryKey` *extends* `QueryKey` = `QueryKey` ### TPageParam `TPageParam` = `unknown` ## Properties ### queryFn? ```ts optional queryFn: QueryFunction; ``` Defined in: [preact-query/src/types.ts:138](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/types.ts#L138) *** ### subscribed? ```ts optional subscribed: boolean; ``` Defined in: [preact-query/src/types.ts:123](https://github.com/theVedanta/query/blob/main/packages/preact-query/src/types.ts#L123) Set this to `false` to unsubscribe this observer from updates to the query cache. Defaults to `true`. #### Inherited from ```ts OmitKeyof.subscribed ```