Skip to main content

getLiveQueryWindowCollectionWarning

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

function getLiveQueryWindowCollectionWarning(collection, expectedLimit): string | undefined;

Defined in: packages/db/src/live-query-window-controller.ts:436

Internal

Validate a pre-created infinite-query collection and describe any window adjustment the adapter should warn about.

Shared validation for infinite-query adapters.

Parameters

collection

Collection<any, any, any>

expectedLimit

number

Returns

string | undefined