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

Function completed

packages/trailbase-db-collection/src/trailbase.ts:148–149  ·  view source on GitHub ↗
(value: Map<string, number>)

Source from the content-addressed store, hash-verified

146 timeout: number = 120 * 1000,
147 ): Promise<void> => {
148 const completed = (value: Map<string, number>) =>
149 ids.every((id) => value.has(id))
150 if (completed(seenIds.state)) {
151 return Promise.resolve()
152 }

Callers 1

awaitIdsFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected