ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Type Alias MethodCacheHit

    A call answered from the method cache (@cache, CacheLib.wrap()), as reported to the observer set with setMethodCacheObserver(). The method does not run and makes no HTTP request, so neither the transport nor the HTTP cache observer sees such a call.

    type MethodCacheHit = {
        caller: Omit<HttpCaller, "retryCount">;
        expiresAt?: number;
        key: string;
    }
    Index
    caller: Omit<HttpCaller, "retryCount">

    Who calls the method, without retryCount. Empty for a CacheLib.wrap() call that passes no caller.

    expiresAt?: number

    When the cache entry expires, as a millisecond timestamp. Missing when the entry expired while the hit was served, or the lookup failed.

    key: string

    The cache key, e.g. Efteling:getPOIData:["en"]