zibri
    Preparing search index...

    Type Alias CacheWrapOptions<V, TArgs, CacheTag>

    Options for the wrap method of a cache.

    type CacheWrapOptions<V, TArgs extends unknown[], CacheTag extends string> = {
        tags?: ResultCacheTagsProvider<V, TArgs, CacheTag>;
        ttl?: ResultCacheTtlProvider<V, TArgs>;
    }

    Type Parameters

    • V
    • TArgs extends unknown[]
    • CacheTag extends string
    Index

    Properties

    Properties

    A provider for the tags to set.

    A provider for the time to live value.