electric-sql / electric-sql/pglite

SyncShapesToTablesOptions onInitialSync type should allow async

Open
#784 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16k
Forks
442
Avg merge
20h 19m
Merged PRs (30d)
7

Description

```
export interface SyncShapesToTablesOptions {
key: string | null
shapes: Record
useCopy?: boolean // DEPRECATED: use initialInsertMethod instead
initialInsertMethod?: InitialInsertMethod
onInitialSync?: () => void | Promise
}
```

I think this would be better to show async support? It would also follow the example given in linear-lite

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.