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

resolveLiveQueryWindowInput.md

36 lines933 Bytes

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