Representation of a cached object.

interface CacheEntry<T> {
    entry: T;
    expires?: number;
}

Type Parameters

  • T

Properties

Properties

entry: T

The cache entry.

expires?: number

The expiration time of the cache entry in milliseconds.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.