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

Allow passing callback to remove #28

Open
tejasbubane opened this issue Sep 5, 2020 · 0 comments
Open

Allow passing callback to remove #28

tejasbubane opened this issue Sep 5, 2020 · 0 comments

Comments

@tejasbubane
Copy link

I am using this package along with react-native-cached-image. I would like to clean up actual files from filesystem when LRU auto-pruning is triggered.

Can we provide a callback that gets invoked immediately after the cache is pruned? The callback function should receive keys that were removed during pruning.

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

1 participant