zibri
    Preparing search index...

    Type Alias MultiWrapWriteOptions<V, TArgs, CacheTag, Tiers>

    The options object for wrapWrite.

    type MultiWrapWriteOptions<
        V,
        TArgs extends unknown[],
        CacheTag extends string,
        Tiers extends readonly TierLike<any, V, CacheTag, any>[],
    > = {
        invalidatesTags?: CacheTagsProvider<TArgs, CacheTag>;
        perCache?: Partial<
            Record<TierName<Tiers>, CacheWrapOptions<V, TArgs, CacheTag>>,
        >;
    }

    Type Parameters

    • V
    • TArgs extends unknown[]
    • CacheTag extends string
    • Tiers extends readonly TierLike<any, V, CacheTag, any>[]
    Index

    Properties

    invalidatesTags?: CacheTagsProvider<TArgs, CacheTag>

    A provider for the tags to invalidate.

    perCache?: Partial<
        Record<TierName<Tiers>, CacheWrapOptions<V, TArgs, CacheTag>>,
    >

    The configuration for each internal cache.