Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Cache
Cache.Storage
Cache.Storage.Base

Method Cache.Storage.Base()->aget()


Method aget

void aget(string key, function(string:void) callback, mixed ... extra_callback_args)

Description

Fetch some data from the cache asynchronously.

callback() will get as first argument key , and as second argument 0 (cache miss) or an Cache.Data object, plus any additional argument that the user may have supplied.