@valkey/valkey-glide
    Preparing search index...

    Type Alias HSetExExpiry

    HSetExExpiry: { count: number; type: TimeUnit } | "KEEPTTL"

    Expiry options specifically for HSETEX command. Supports standard expiry options (EX/PX/EXAT/PXAT) and KEEPTTL, but excludes PERSIST.

    // Set expiration to 60 seconds
    const expiry: HSetExExpiry = { type: TimeUnit.Seconds, count: 60 };

    // Keep existing TTL
    const keepTtl: HSetExExpiry = "KEEPTTL";