durable_sync_queue 0.1.2
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/retryand 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 #
SyncQueuewith per-group ordering, idempotency keys, exponential backoff with jitter, dead-lettering andmaxAttempts.drain(force: true)to skip backoff when connectivity returns.cancel()that only discards operations the server has never seen.QueueStoreinterface withInMemoryQueueStoreandJsonFileQueueStore(inio.dart).eventsstream andwatchPendingCount().