Skip to main content

resolveLiveQueryWindowInput

还没翻译译自英文(tanstack.com)本页 13 段都还没译

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>