zibri
    Preparing search index...

    A write-through read-through cache.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _writeResultAvailable: true

    Phantom carrier, only for type inference.

    defaultTtl?: number | (() => number | Promise<number>)

    The default time to live for a cached value.

    name: "EncryptionKeyCache"

    The name of the cache. Should be unique.

    onInvalidationFailure?: OnInvalidationFailure

    Whether to throw when invalidation fails or to just log and ignore.

    The store used by this cache.

    tags: "all" | readonly CacheTagMatcher[]

    The tags that any values inside of this cache might have.

    This is used for performance improvements, to skip caches for invalidateTags if the given tag will never be inside any of the cached values. Can be set to 'all' to check every time.

    Methods