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

Callback on timeout #10

Open
campaignium opened this issue Oct 12, 2021 · 1 comment
Open

Callback on timeout #10

campaignium opened this issue Oct 12, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@campaignium
Copy link

Could you add a feature to allow for a callback function to be passed into the set() method, and this callback would be fired when the ttl is reached?

Thanks
Justin

@niketpathak
Copy link
Member

niketpathak commented Nov 2, 2021

yes that is possible, we could allow callbacks to be optional. we will try to include this in our next release.

@niketpathak niketpathak added the enhancement New feature or request label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants