Wraith::HashEntry(V)
Inherits MessagePack::Serializable / Struct / Value / Object
Wraps Hash values. Each entry has a value and expiration.
Constructors
new(value : V, ttl : Time::Span | Nil)
Sourcenew(pull : MessagePack::Unpacker)
SourceInstance methods
expires_at
Sourceexpires_in_ms
Sourcehas_expiration?
Sourceupdate_expiration(ttl : Time::Span | Nil)
Sourcevalue
Sourcevalue=(value : V)
Source