durable_sync_queue 0.1.2 copy "durable_sync_queue: ^0.1.2" to clipboard
durable_sync_queue: ^0.1.2 copied to clipboard

A persistent, ordered, retrying operation queue for offline-first apps. Idempotency keys, per-group ordering, exponential backoff and dead-lettering, with pluggable storage. Pure Dart.

0.1.2 #

  • Fix: automatic drains (after enqueue/retry and on retry timers) now run in the zone the queue was created in. Previously, enqueueing inside a database transaction (e.g. Drift's zone-bound transactions) made the drain reuse the committed transaction and hang.

0.1.1 #

  • Fix: drain(force: true) could be absorbed by a regular pass that started while it was waiting, leaving operations in backoff after reconnecting.

0.1.0 #

  • SyncQueue with per-group ordering, idempotency keys, exponential backoff with jitter, dead-lettering and maxAttempts.
  • drain(force: true) to skip backoff when connectivity returns.
  • cancel() that only discards operations the server has never seen.
  • QueueStore interface with InMemoryQueueStore and JsonFileQueueStore (in io.dart).
  • events stream and watchPendingCount().
0
likes
150
points
369
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A persistent, ordered, retrying operation queue for offline-first apps. Idempotency keys, per-group ordering, exponential backoff and dead-lettering, with pluggable storage. Pure Dart.

Repository (GitHub)
View/report issues

Topics

#offline #sync #queue #retry #idempotency

License

MIT (license)

Dependencies

meta

More

Packages that depend on durable_sync_queue