Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

fetchNextLiveQueryWindowPage.md

28 lines798 Bytes

1---
2id: fetchNextLiveQueryWindowPage
3title: fetchNextLiveQueryWindowPage
4---
5​
6```ts
7function fetchNextLiveQueryWindowPage(controller): Promise<void>;
8```
9​
10Defined in: [packages/db/src/live-query-window-controller.ts:538](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L538)
11​
12**`Internal`**
13​
14Run an adapter-facing page fetch. The controller records failures in its
15snapshot; consuming the rejection here keeps event handlers safe while the
16returned promise still settles with the request.
17​
18 This contract is unstable while RFC #1623 is being implemented.
19​
20## Parameters
21​
22### controller
23​
24`Pick`\<[`LiveQueryWindowController`](../interfaces/LiveQueryWindowController.md)\<`object`, `string` \| `number`\>, `"fetchNextPage"`\>
25​
26## Returns
27​
28`Promise`\<`void`\>