Class SimplePersistentCache

Simple persistent cache implementation, used by default by AnidbUDPClient. Cache is in memory, but will attempt to save (./.cache by default) on exit, and load on initialization

Hierarchy

  • SimplePersistentCache

Implements

Constructors

Properties

Methods

Constructors

Properties

cache_file: string
exitSaved: boolean = false
innerCache: NodeCache

Methods

  • Parameters

    • Rest ...args: [key: string, value: CachableValue]

    Returns Promise<void>

Generated using TypeDoc