Expiry options specifically for HGETEX command. Supports standard expiry options (EX/PX/EXAT/PXAT) and PERSIST, but excludes KEEPTTL.
// Set expiration to 30 secondsconst expiry: HGetExExpiry = { type: TimeUnit.Seconds, count: 30 };// Remove expirationconst persist: HGetExExpiry = "PERSIST"; Copy
// Set expiration to 30 secondsconst expiry: HGetExExpiry = { type: TimeUnit.Seconds, count: 30 };// Remove expirationconst persist: HGetExExpiry = "PERSIST";
Expiry options specifically for HGETEX command. Supports standard expiry options (EX/PX/EXAT/PXAT) and PERSIST, but excludes KEEPTTL.