durable_queue_drift 0.1.0
durable_queue_drift: ^0.1.0 copied to clipboard
drift storage for durable_queue. Keeps queued tasks in your app's drift database, with indexed, transactional queries.
0.1.0 #
- Initial release.
DriftQueueStorage.open(database, tablePrefix:): aQueueStoragethat keeps tasks in tables inside an app's drift database. Each write runs in its own drift transaction. Calls made inside a drift transaction of the app are refused with aStateErrorinstead of risking a deadlock.- Uses the same tables as
durable_queue_sqlite. - Requires drift 2.35.1 or later. Earlier versions could lose writes made in transactions on the web (IndexedDB), and every queue write is one.