Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

SyncAppliedReceipt.md

15 lines514 Bytes

type SyncAppliedReceipt = true | Promise<void>;

Defined in: packages/db/src/types.ts:368

Confirms whether a committed sync transaction is visible or is waiting for its turn in the collection's causal queue. A pending receipt rejects with an error named AbortError if cancellation wins before application. Once the writes are visible, later cancellation has no effect.