Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/electric-sql/pglite
/ onInitialSync
Function
onInitialSync
packages/pglite-sync/test-e2e/sync-e2e.test.ts:855–857 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
853
it(
'calls onInitialSync callback after initial sync'
,
async
() => {
854
let
callbackCalled = false
855
const
onInitialSync = () => {
856
callbackCalled = true
857
}
858
859
const
shape =
await
pg.electric.syncShapeToTable({
860
shape: {
Callers
1
commitUpToLsn
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected