outbox_queue 0.1.1 copy "outbox_queue: ^0.1.1" to clipboard
outbox_queue: ^0.1.1 copied to clipboard

A durable outbox for offline-first apps — queue writes while the network is gone, replay them in order when it returns, with backoff, lanes and dead-lettering.

Changelog #

0.1.1 #

No behaviour changed. 0.1.0 went out from a checkout that was three commits behind, so it shipped without any of this.

  • Documented every public member. 0.1.0 had none, which is most of what pub.dev scores a package on.
  • Moved docs/ to doc/, the layout pub expects. 0.1.0 published with the warning still showing.
  • The example now reports what is still queued when it finishes and says where that state lives, so running it twice shows a refused operation being retried — which is the point of the package.

0.1.0 #

First release.

  • Durable queue of pending writes, replayed oldest-first when drain() is called.
  • Independent lanes, so one blocked stream does not stall the others.
  • Exponential backoff with full jitter.
  • Dead-lettering after a configurable number of attempts, on an explicit drop verdict, or when no handler is registered for a type.
  • InMemoryOutboxStore and FileOutboxStore; OutboxStore for anything else.
  • stats stream for showing pending counts without polling.
2
likes
160
points
88
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A durable outbox for offline-first apps — queue writes while the network is gone, replay them in order when it returns, with backoff, lanes and dead-lettering.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on outbox_queue