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

Function getKey

packages/query-db-collection/tests/query.test.ts:41–41  ·  view source on GitHub ↗
(item: TestItem)

Source from the content-addressed store, hash-verified

39}
40
41const getKey = (item: TestItem) => item.id
42
43// Helper to advance timers and allow microtasks to flush
44const flushPromises = () => new Promise((resolve) => setTimeout(resolve, 0))

Callers 1

applySuccessfulResultFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected