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

Function start

packages/rxdb-db-collection/src/rxdb.ts:236–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234 }
235
236 async function start() {
237 startOngoingFetch()
238 await initialFetch()
239
240 if (buffer.length) {
241 begin()
242 for (const msg of buffer) write(msg)
243 commit()
244 buffer.length = 0
245 }
246
247 markReady()
248 }
249
250 start()
251

Callers 1

rxdbCollectionOptionsFunction · 0.70

Calls 2

startOngoingFetchFunction · 0.85
initialFetchFunction · 0.85

Tested by

no test coverage detected