Method Cache.cache()->alookup()
- Method
alookup
voidalookup(stringkey,function(string,mixed,mixed... :void)callback,int|floattimeout,mixed...args)- Description
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.