rev_sync 1.0.0 copy "rev_sync: ^1.0.0" to clipboard
rev_sync: ^1.0.0 copied to clipboard

Offline-first sync engine for Dart & Flutter: a connectivity-driven scheduler plus a generic outbox push-queue and delta pull-reconciler over a server revision (rev) cursor, with conflict detection. B [...]

Changelog #

1.0.0 #

Initial release.

A pure-Dart, offline-first sync engine — backend- and store-agnostic:

  • SyncScheduler — connectivity-driven triggers, an offline→online re-sync, single-flight runs, a start/stop generation guard, exponential-backoff retry, and a SyncStatus stream. Runs any Future<SyncOutcome> Function() body.
  • OfflineCrudSync<T> — a generic outbox push-queue followed by a delta pull, keyed on the server revision (rev) as both the delta cursor and the optimistic-concurrency token. Classifies push outcomes (applied / superseded / conflict / gone), distinguishes retryable from terminal failures, guards against lost updates, and applies deletes as explicit tombstones.
  • Contracts you implement: Syncable, SyncLocalStore<T>, SyncRemoteAdapter<T>, SyncCursorStore, and ConnectivitySource.
1
likes
150
points
106
downloads

Documentation

API reference

Publisher

verified publisherluci-studio.com

Weekly Downloads

Offline-first sync engine for Dart & Flutter: a connectivity-driven scheduler plus a generic outbox push-queue and delta pull-reconciler over a server revision (rev) cursor, with conflict detection. Backend- and store-agnostic.

Repository (GitHub)
View/report issues

Topics

#offline-first #sync #synchronization

License

MIT (license)

More

Packages that depend on rev_sync