function withCollectionSyncConfigCleanup<TSync>(sync, cleanup): TSync;function withCollectionSyncConfigCleanup<TSync>(sync, cleanup): TSync;Defined in: packages/db/src/collection/index.ts:96
Internal
Registers work owned before an adapter sync starts.
TSync extends object
TSync
() => void
TSync