interface ICache {
    allKeys(): MaybePromise<string[]>;
    get<T>(key): MaybePromise<undefined | T>;
    remove(key): MaybePromise<void>;
    set<T>(key, entry): MaybePromise<void>;
}

Implemented by

Methods

  • Returns MaybePromise<string[]>

  • Type Parameters

    • T = WrappedCacheEntry<false>

    Parameters

    • key: string

    Returns MaybePromise<undefined | T>

  • Parameters

    • key: string

    Returns MaybePromise<void>

  • Type Parameters

    • T = WrappedCacheEntry<false>

    Parameters

    • key: string
    • entry: T

    Returns MaybePromise<void>

Generated using TypeDoc