本页还没有译文
本页 10 段还没译成Español,下面显示的是英文原文。whenSyncAccepted
还没翻译译自英文(tanstack.com)本页 10 段都还没译
function whenSyncAccepted(receipt): SyncAppliedReceipt;Defined in: packages/db/src/sync-receipt.ts:32
Internal
The moment a receipt's sync transaction was accepted. Handler-facing writes
and Collection readiness wait for this, not for visibility: a transaction held by a persisting
optimistic transaction becomes visible only when that transaction settles,
so a handler awaiting visibility would wait for itself. Core accepts at
commit(). A receipt that carries no acceptance moment is treated as
accepted only when it resolves.
Adapter infrastructure, not an application API.
Parameters
receipt
Returns
AI 翻译查看英文原文