Member Junction
    Preparing search index...

    Interface LocalStorageWriteOptions

    Per-write options for ILocalStorageProvider.SetItem.

    interface LocalStorageWriteOptions {
        IndexGroup?: string;
        pubSubAction?: "set" | "row_delta";
        pubSubData?: string;
        TTLSeconds?: number;
    }
    Index

    Properties

    IndexGroup?: string

    A secondary index within the category that this key belongs to. LocalCacheManager passes the entity name for RunView cache entries, so a shared provider can answer ILocalStorageProvider.GetIndexGroupKeys without listing the whole category.

    pubSubAction?: "set" | "row_delta"

    Optional override for the pub/sub notification action emitted by distributed storage providers (such as RedisLocalStorageProvider in 'full' publish mode). When set to 'row_delta' alongside pubSubData, the storage key still stores the full value, while pub/sub broadcasts only the compact row-delta payload.

    pubSubData?: string

    Compact JSON payload broadcast over pub/sub when pubSubAction is 'row_delta'.

    TTLSeconds?: number

    Seconds until the entry expires, overriding the provider's default. 0 stores the entry without expiry. Omit to use the provider's default.