MCPcopy Create free account
hub / github.com/TanStack/db / constructor

Method constructor

packages/db/src/collection/sync.ts:56–60  ·  view source on GitHub ↗

* Creates a new CollectionSyncManager instance

(config: CollectionConfig<TOutput, TKey, TSchema>, id: string)

Source from the content-addressed store, hash-verified

54 * Creates a new CollectionSyncManager instance
55 */
56 constructor(config: CollectionConfig<TOutput, TKey, TSchema>, id: string) {
57 this.config = config
58 this.id = id
59 this.syncMode = config.syncMode ?? `eager`
60 }
61
62 setDeps(deps: {
63 collection: CollectionImpl<TOutput, TKey, any, TSchema, TInput>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected