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

Async cache functions (filter/keepOverLimit) #9738

Open
mxz7 opened this issue Jul 29, 2023 · 0 comments
Open

Async cache functions (filter/keepOverLimit) #9738

mxz7 opened this issue Jul 29, 2023 · 0 comments

Comments

@mxz7
Copy link

mxz7 commented Jul 29, 2023

Which application or package is this feature request for?

discord.js

Feature

image

I think it would be a good addition/change and I don't see any problems that could come about from it but I could be massively wrong.

Would help to decide whether users should be removed from cache based on if they're an active user from a db query or fetching something from redis etc.

Ideal solution or implementation

Allow cache functions (filter/keepOverlimit) to return Promise

Alternative solutions or implementations

No response

Other context

No response

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

No branches or pull requests

1 participant