RedisValue.ttl

Remaining time-to-live.

struct RedisValue
@property
Duration
ttl
()

Return Value

Type: Duration

The time until the key expires, if applicable. Returns Duration.max otherwise.

See Also

Meta