Type Parameters

  • V = unknown

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Delete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.

    Parameters

    Returns Promise<void>

  • Get the cached values for the given keys.

    Parameters

    Returns Promise<{
        key: CacheFullKey;
        value: V;
    }[]>

  • Set the cached values for the given keys and TTLs.

    Parameters

    • pairs: {
          key: CacheFullKey;
          ttl?: number;
          value: V;
      }[]

      The pairs to set.

    Returns Promise<void>