Interface CacheOptions<DataType>

interface CacheOptions<DataType> {
    limit: number;
    resolver(storedData, newData): boolean;
}

Type Parameters

  • DataType

Properties

Methods

Properties

limit: number

The maximum amount of documents that can be stored before erasure.

Default Value

10

Methods

Generated using TypeDoc