orbitinghail / sqlsync

SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.
https://sqlsync.dev
Apache License 2.0
2.19k stars 28 forks source link

Add sync state API #31

Open carlsverre opened 7 months ago

carlsverre commented 7 months ago

The client app needs a way to query the current synchronisation state.

Ideally this ties into the mutation API so the client can also use it to await a specific mutation. This would allow the developer to opt into synchronous request/response if needed.

carlsverre commented 7 months ago

The TODO demo should show this status in a nice way. Both to expose the concept more clearly and to provide a better TODO UX.