@vicinae/api
    Preparing search index...

    Interface SetOptions

    interface SetOptions {
        ttl?: number;
    }
    Index

    Properties

    Properties

    ttl?: number

    Time-to-live in milliseconds for this key. Overrides the cache-level Cache.Options.ttl. If not set, the cache-level default is used. In both cases, keys are still subject to LRU eviction when the cache exceeds its capacity.