Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pglite/sync): Add
commitGranularity
and onInitialSync
parame…
…ters to `syncShapeToTable` (#456) * Add `commitGranularity` parameter in the `syncShapeToTable` * Fix tests * Docs * add tests for commitGranularity * Add test of the commitThrottle option * Fix onInitialSync and add test * doc: export return type for syncShapeToTable (#452) * doc: export return type for syncShapeToTable * feat: expose stream object as of for useShape hook * Changeset --------- Co-authored-by: Sam Willis <[email protected]> * Remove part of test thats flaky on CI * formatting * Fix types * Remove transaction commit granularity until Electric has stabilised on LSN metadata * Post review changes --------- Co-authored-by: Yacine <[email protected]>
- Loading branch information