MCPcopy Index your code
hub / github.com/TanStack/db / createIssuesCollection

Function createIssuesCollection

packages/db/tests/effect.test.ts:47–55  ·  view source on GitHub ↗
(initialData = sampleIssues)

Source from the content-addressed store, hash-verified

45}
46
47function createIssuesCollection(initialData = sampleIssues) {
48 return createCollection(
49 mockSyncCollectionOptions<Issue>({
50 id: `test-issues`,
51 getKey: (issue) => issue.id,
52 initialData,
53 }),
54 )
55}
56
57/** Wait for microtasks to flush */
58const flushPromises = () => new Promise((resolve) => setTimeout(resolve, 0))

Callers 1

effect.test.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…