DialCache TypeScript API - v0.26.0
    Preparing search index...

    Type Alias CachedFn<Fn>

    CachedFn: (...args: Parameters<Fn>) => Promise<CachedValue<Fn>>

    A cached function returns references owned by the cache. Treat returned values as immutable; callers that need to mutate must copy them explicitly.

    Type Parameters

    • Fn extends AnyFn

    Type Declaration