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

Method constructor

packages/db/src/collection/lifecycle.ts:43–46  ·  view source on GitHub ↗

* Creates a new CollectionLifecycleManager instance

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

Source from the content-addressed store, hash-verified

41 * Creates a new CollectionLifecycleManager instance
42 */
43 constructor(config: CollectionConfig<TOutput, TKey, TSchema>, id: string) {
44 this.config = config
45 this.id = id
46 }
47
48 setDeps(deps: {
49 indexes: CollectionIndexesManager<TOutput, TKey, TSchema, TInput>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected