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/SyncConfigRes.md
SyncConfigRes
ts
type SyncConfigRes = object;Defined in: packages/db/src/types.ts:417
Properties#
cleanup?#
ts
optional cleanup: CleanupFn;Defined in: packages/db/src/types.ts:418
loadSubset?#
ts
optional loadSubset: LoadSubsetFn;Defined in: packages/db/src/types.ts:419
restartAfterScopedRecovery()?#
ts
optional restartAfterScopedRecovery: (cacheRotated) => void | Promise<void>;Defined in: packages/db/src/types.ts:427
Optional provider-controlled restart for a lost managed cache claim. Retire old provider callbacks synchronously and start the replacement only after cacheRotated fulfills; it rejects if scoped recovery fails. When absent, the persistence wrapper cleans up and reenters sync itself.
Parameters#
cacheRotated#
Promise<void>
Returns#
void | Promise<void>
unloadSubset?#
ts
optional unloadSubset: UnloadSubsetFn;Defined in: packages/db/src/types.ts:420