Cache entry structure for any manga source. Stores cached data with timestamp and source information.

export interface MangaSourceCacheEntry<T = unknown> {
/** Cached data */
data: T;
/** Timestamp when cached */
timestamp: number;
/** Source this cache entry belongs to */
source: MangaSource;
}
interface MangaSourceCacheEntry<T = unknown> {
    data: T;
    timestamp: number;
    source: MangaSource;
}

Type Parameters

  • T = unknown

    The type of cached data.

Properties

Properties

data: T

Cached data

timestamp: number

Timestamp when cached

source: MangaSource

Source this cache entry belongs to