Open History to see the last commit
1---
2id: FetchPreviousPageOptions
3title: FetchPreviousPageOptions
4---
5β
6Defined in: [packages/query-core/src/types.ts:941](https://github.com/TanStack/query/blob/main/packages/query-core/src/types.ts#L941)
7β
8Options of `fetchPreviousPage` on an infinite query result.
9β
10## Extends
11β
12- [`ResultOptions`](ResultOptions.md)
13β
14## Properties
15β
16| Property | Type | Default value | Description |
17| ------ | ------ | ------ | ------ |
18| <a id="property-cancelrefetch"></a> `cancelRefetch?` | `boolean` | `true` | If set to `true`, calling `fetchPreviousPage` repeatedly will invoke `queryFn` every time, whether the previous invocation has resolved or not. Also, the result from previous invocations will be ignored. If set to `false`, calling `fetchPreviousPage` repeatedly won't have any effect until the first invocation has resolved. |
19| <a id="property-throwonerror"></a> `throwOnError?` | `boolean` | `false` | If set to `true`, the method throws if any of the underlying query refetch tasks fail. If set to `false`, failed refetches are swallowed and not surfaced to the caller. |