Commit Graph

2 Commits (a619d48fac589f8ec9d0776b69ec7200c256fdd1)

Author SHA1 Message Date
Daniel Gasienica 5d927b73e6 Use `while` loop for IDB cursor iteration
Previously, I messily combined promises and callbacks because I thought we
were affected by the microtask issue:
https://github.com/gasi/idb#iteratecursor--iteratekeycursor

ESLint’s `more/no-then` encouraged me to revisit this and it works as expected.
8 years ago
Daniel Gasienica 182e6ffe10 Add version 17 migration 8 years ago