Currently, all the issued queries have to finish. If the user makes adjustments every 1.5 seconds, multiple queries are issued (and the result of the old ones is discarded). This could lead to laggy UI.
This was tackled in fb60c24 - however, it is not part of the implementation as canceling queries seems to make no difference. On the other hand, filtering by chunks makes.
Currently, all the issued queries have to finish. If the user makes adjustments every 1.5 seconds, multiple queries are issued (and the result of the old ones is discarded). This could lead to laggy UI.
It would be nice to be able to cancel the previous queries. This is the guide provided by Dexie.js author: https://stackoverflow.com/questions/64114482/aborting-dexie-js-query