Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for getting all the keys #19

Closed
rohitjoshi opened this issue Dec 3, 2018 · 4 comments
Closed

Support for getting all the keys #19

rohitjoshi opened this issue Dec 3, 2018 · 4 comments

Comments

@rohitjoshi
Copy link
Contributor

It would be good to have support to retrieve all the keys. My use-case is to persist all the keys so at startup, read the keys from DB and warm up the cache.

@jeromefroe
Copy link
Owner

That sounds like a great idea! Would implementing the IntoIterator suffice for your use case?

@jeromefroe
Copy link
Owner

Hey, I just landed #20 which adds support for an iterator over the entries in a cache. Let me know if that works for you when you get a chance and if so I'll cut a new release.

@rohitjoshi
Copy link
Contributor Author

👍 works great. Thank you.

@jeromefroe
Copy link
Owner

Great, glad to hear it! I also just released a new version (0.1.11) to cargo with the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants