Interface CacheConfig

Configuration, used for cache decorator.

Hierarchy

  • CacheConfig

Properties

conditionalCache?: boolean

If true, then results must be of type ConditionalResult, defining whether to cache calculated result.

maxAge?: number

Amount of time, during which cached result is relevant.

Generated using TypeDoc