List keys | Cloudflare Workers KV
Hi all, when I am using list method and cursor for pagination (https://developers.cloudflare.com/kv/api/list-keys/#list-method). What happens if I have 1 milion keys and when I get a page I trigger delete of that keys and then use cursor to go to the second page? Would cursor have an old list so it will continue serving correct pages even though that I am deleting keys in the background?
Cloudflare Docs
To list all the keys in your KV namespace, call the list() method of the KV binding on any KV namespace you have bound to your Worker code:

