Cache.get

Tuple!(bool, "found", T, "value") get(string key) @safe

Retrieves a value from the cache.

Parameters

keyCache key

Returns

A tuple containing (found, value). If not found or expired,

found will be false and value will be T.init.