Open DeeSouza opened 4 years ago
I want that when Redis deletes a record when the expiration time expires, an action in NodeJS is invoked.
It is possible?
Yeah, ioredis supports keyspace notifications via redis.psubscribe: https://redis.io/topics/notifications#timing-of-expired-events.
redis.psubscribe
I want that when Redis deletes a record when the expiration time expires, an action in NodeJS is invoked.
It is possible?