Skip to main content
cngx-src documentation

MemoizeOptions

Interface

projects/core/utils/memo.util.ts

Import#

import { MemoizeOptions } from '@cngx/core/utils'

Description#

Options for memoize.

Index#

Properties

Instance Properties#

cacheLimit#number
ReadonlyOptional

Maximum number of cached entries. When the cache is full, the oldest inserted entry is evicted (FIFO) before the new one lands. Unset means unbounded - only safe when the key space is provably finite (locales, enum keys); derive-per-input call sites MUST set a limit.