DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/functions/resolveLiveQueryWindowInput.md
resolveLiveQueryWindowInput
ts
function resolveLiveQueryWindowInput<TContext>(input): ResolvedLiveQueryWindowInput<TContext>;Defined in: packages/db/src/live-query-window-controller.ts:62
Internal
Resolve a supported infinite-query input and invoke a query callback once. A function may resolve to a collection for framework getter compatibility. Nullable/disabled and config-object inputs are intentionally not supported.
This contract is unstable while RFC #1623 is being implemented.
Type Parameters#
TContext#
TContext extends Context
Parameters#
input#
unknown
Returns#
ResolvedLiveQueryWindowInput<TContext>