multi-level-cache icon indicating copy to clipboard operation
multi-level-cache copied to clipboard

Support node-cache events

Open gairom opened this issue 7 years ago • 2 comments

when using node-cache you can listen to events fired when a key is set or expired for example, this is very useful and I use it in my event driven app. https://www.npmjs.com/package/node-cache#set Can you export these as well? Thanks!

gairom avatar Dec 08 '17 15:12 gairom

@gairom that sounds like a reasonable request. Would you like to submit a PR with those changes?

guyellis avatar Dec 08 '17 16:12 guyellis

sent a pull request with added functionality, please test.

On Dec 8, 2017 18:20, "Guy Ellis" [email protected] wrote:

@gairom https://github.com/gairom that sounds like a reasonable request. Would you like to submit a PR with those changes?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/guyellis/multi-level-cache/issues/86#issuecomment-350304708, or mute the thread https://github.com/notifications/unsubscribe-auth/AKeb0zVImM7GZTJCeVlZmufVt3m-WbYSks5s-WG7gaJpZM4Q7QTz .

gairom avatar Dec 08 '17 16:12 gairom