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/type-aliases/SyncAppliedReceipt.md
SyncAppliedReceipt
ts
type SyncAppliedReceipt = true | Promise<void>;Defined in: packages/db/src/types.ts:393
Confirms that a committed sync transaction is visible, or resolves when it becomes visible. An accepted transaction always applies in commit order. A receipt rejects with an error named AbortError only if its signal aborted before acceptance, or if cleanup abandons the transaction.