Skip to main content

durable_queue_hive 1.0.1 copy "durable_queue_hive: ^1.0.1" to clipboard
durable_queue_hive: ^1.0.1 copied to clipboard

Hive storage for durable_queue, on hive_ce. Tasks survive restarts and crashes on mobile, desktop, and web.

1.0.1 #

  • Requires durable_queue 1.1.0 or later. Hive storage does not keep queue state (QueueStateStorage), so rate limits start empty after a restart, as before.

1.0.0 #

  • First stable release, for durable_queue 1.0. No API changes from 0.1.0; breaking changes now wait for 2.0.

0.1.0 #

  • Initial release.
  • HiveQueueStorage: QueueStorage on a hive_ce Box<String>, one JSON entry per task, with an indexed in-memory view for queries.
  • HiveQueueStorage.open opens the box; flushEachWrite (on by default) flushes every write to disk.
  • Ids longer than Hive's 255-byte key limit are stored under a SHA-256 hash.
  • A failed box write is undone in the view.
  • Tested with the shared storage contract on real Hive files, a writer process killed with SIGKILL, a write cut off at the end of the file, and in a browser (IndexedDB).
0
likes
160
points
610
downloads

Documentation

API reference

Publisher

verified publisherboffincoders.com

Weekly Downloads

Hive storage for durable_queue, on hive_ce. Tasks survive restarts and crashes on mobile, desktop, and web.

Repository (GitHub)
View/report issues
Contributing

Topics

#queue #hive #persistence #offline #retry

License

MIT (license)

Dependencies

crypto, durable_queue, hive_ce

More

Packages that depend on durable_queue_hive