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

resolveLiveQueryWindowInput.md

34 lines890 Bytes

1---
2id: resolveLiveQueryWindowInput
3title: resolveLiveQueryWindowInput
4---
5​
6```ts
7function resolveLiveQueryWindowInput<TContext>(input): ResolvedLiveQueryWindowInput<TContext>;
8```
9​
10Defined in: [packages/db/src/live-query-window-controller.ts:62](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L62)
11​
12**`Internal`**
13​
14Resolve a supported infinite-query input and invoke a query callback once.
15A function may resolve to a collection for framework getter compatibility.
16Nullable/disabled and config-object inputs are intentionally not supported.
17​
18 This contract is unstable while RFC #1623 is being implemented.
19​
20## Type Parameters
21​
22### TContext
23​
24`TContext` *extends* [`Context`](../interfaces/Context.md)
25​
26## Parameters
27​
28### input
29​
30`unknown`
31​
32## Returns
33​
34[`ResolvedLiveQueryWindowInput`](../type-aliases/ResolvedLiveQueryWindowInput.md)\<`TContext`\>