Closed arv closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/rocicorp/replicache/8chQ5VgV4wGA7PtkpjeXkcyiX53T
✅ Preview: https://replicache-git-arv-scan-interface-rocicorp.vercel.app
We now expose a method called
makeScanResult
. It takes aScanOptions
and a function that returns an async iterator.or when using an index:
To make this work we moved the limit and exclusive handling to the top level iterator loop.
We now compute the fromKey and pass that into the iterator.
Fixes #607