Open History to see the last commit
function withCollectionSyncConfigFactory<TSync>(sync, factory): CollectionSyncConfigWithFactory<TSync>;
Defined in: packages/db/src/collection/index.ts:81
Internal
The factory must defer startSyncIfIdle until construction ends.
Type Parameters#
TSync#
TSync extends object
Parameters#
sync#
TSync
factory#
(source, utilities, startSyncIfIdle) => TSync
Returns#
CollectionSyncConfigWithFactory<TSync>