node-cache icon indicating copy to clipboard operation
node-cache copied to clipboard

Add 'deleteOnTimeout' configuration

Open isalkind opened this issue 5 years ago • 0 comments

'deleteOnTimeout' controls whether a key is removed when the ttl expires or whether it is kept. Default is true (behavior is unchanged). If set to false, key will not be removed when ttl expires, but timeout callback will be invoked.

isalkind avatar Dec 08 '20 22:12 isalkind