It is in fact possible to listen to the “expired” type keyevent notification using a subscribed client to the specific channel and listening to its message event. 通过 subscribe client 可以监听 __keyevent@db__:expired 频道来接收过期的事件. const redis = require('red…