zibri
    Preparing search index...

    Type Alias CacheWrapWriteOptionsArgsOnly<TArgs, CacheTag>

    Options for the wrapWrite method of a cache when the result of the original function is NOT available.

    type CacheWrapWriteOptionsArgsOnly<
        TArgs extends unknown[],
        CacheTag extends string,
    > = {
        invalidatesTags?: CacheTagsProvider<TArgs, CacheTag>;
        tags?: CacheTagsProvider<TArgs, CacheTag>;
        ttl?: CacheTtlProvider<TArgs>;
    }

    Type Parameters

    • TArgs extends unknown[]
    • CacheTag extends string
    Index

    Properties

    invalidatesTags?: CacheTagsProvider<TArgs, CacheTag>

    A provider for the tags to invalidate.

    A provider for the tags to set.

    A provider for the time to live value.