RedisKeyLifetime

public enum RedisKeyLifetime : Hashable

The lifetime of a RedisKey as determined by ttl or pttl.

  • The lifetime for a RedisKey which has an expiry set.

    See more

    Declaration

    Swift

    public enum Lifetime : Comparable, Hashable
  • The remaining time-to-live for the key, or nil if the key does not exist or will not expire.

    Declaration

    Swift

    public var timeAmount: TimeAmount? { get }