ao-js-sdk - v0.0.9
    Preparing search index...

    Interface ICacheConfig

    Configuration interface for cache implementations. Defines optional parameters to control cache behavior.

    interface ICacheConfig {
        maxAge?: number;
        maxSize?: number;
    }
    Index

    Properties

    Properties

    maxAge?: number

    Maximum age (in milliseconds) that entries can remain in the cache. Entries older than this will be automatically removed.

    maxSize?: number

    Maximum number of entries the cache can hold. When exceeded, least recently used entries will be evicted.