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

fetchNextLiveQueryWindowPage.md

30 lines842 Bytes

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