本页还没有译文
本页 9 段还没译成Tiếng Việt,下面显示的是英文原文。getLoadSubsetDemandKey
还没翻译译自英文(tanstack.com)本页 9 段都还没译
function getLoadSubsetDemandKey(options): DemandKey | undefined;Defined in: packages/db/src/query/ir-stable-identity.ts:97
Returns the exact semantic identity of a loadSubset request.
Abort signals and subscriptions are owners of a request, not part of the
requested data, and therefore do not affect the key. refetch controls
whether to start another acquisition attempt for that data and likewise does
not affect identity. A demand generation scopes one asynchronous attempt
rather than the data it requests. Code that rejects stale work compares this
key alongside its generation; query-db uses the key alone so equivalent data
demands can reuse one cache entry across generations.
Parameters
options
Returns
DemandKey | undefined
AI 翻译查看英文原文