Method Cache.cache()->alookup()

Method alookup

void alookup(string key, function(string, mixed, mixed ... :void) callback, int|float timeout, mixed ... args)


Asynchronously look the cache up. The callback will be given as arguments the key, the value, and then any user-supplied arguments. If the timeout (in seconds) expires before any data could be retrieved, the callback is called anyways, with 0 as value.