mise API - v0.0.0
    Preparing search index...

    Interface CacheResult<T>

    Result returned by cache_get with freshness information.

    interface CacheResult<T = unknown> {
        age: number;
        data: T;
        fresh: boolean;
    }

    Type Parameters

    • T = unknown
    Index
    age: number

    Age in milliseconds

    data: T

    The cached data

    fresh: boolean

    True if within TTL and not dirty