Associative time to live (TTL) cache for Julia
Author christopher-dG
1 Star
Updated Last
3 Years Ago
Started In
October 2018

TimeToLive Build Status

An associative TTL cache.

julia> using Dates, TimeToLive

julia> ttl = TTL{Int, String}(Second(1))
TTL{Int64,String,Second} with 0 entries

julia> ttl[0] = "foo"

julia> ttl[0]

julia> sleep(2)

julia> get(ttl, 0, "bar")

Required Packages

No packages found.