We're updating the issue view to help you get more done. 

Allow ttl to be set for a key on cache miss

Description

Create a second arity for miss that takes an options map. In the TTLCache implementation use the :ttl key from the options to set a non-default ttl for a cache object. All other implementations will disregard the options and call the original version of miss.

Environment

None

Status

Assignee

Sean Corfield

Reporter

import

Labels

None

Approval

None

Patch

Code and Test

Priority

Major