express-memorize - v1.2.0
    Preparing search index...

    Interface MemorizeExpireEvent

    Emitted when a cache entry is automatically removed after its TTL elapses.

    cache.on(MemorizeEventType.Expire, (e) => {
    console.log(`expired ${e.key}`);
    });
    interface MemorizeExpireEvent {
        key: string;
        type: Expire;
    }
    Index

    Properties

    Properties

    key: string

    The cache key that expired.

    type: Expire