MCPcopy Create free account
hub / github.com/tinyplex/tinybase / completeNextBatch

Function completeNextBatch

test/unit/persisters/powersync.test.ts:53–54  ·  view source on GitHub ↗
(powerSync: PowerSyncDatabase)

Source from the content-addressed store, hash-verified

51};
52
53const completeNextBatch = async (powerSync: PowerSyncDatabase) =>
54 (await summarizeBatch(powerSync))[1]?.();
55
56const getPowerSyncForPersister = (powerSync: PowerSyncDatabase): any => ({
57 // The Node SDK's better-sqlite3 adapter expects '?' bindings, while the Web

Callers 1

powersync.test.tsFile · 0.85

Calls 1

summarizeBatchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…