Gck.Object.prototype.cache_lookup_async
function cache_lookup_async(attr_types: Array(Number(gulong)), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_object_cache_lookup_async() }
Lookup attributes in the cache, or retrieve them from the object if necessary.
If object is a Gck.ObjectCache then this will lookup the attributes there first if available, otherwise will read them from the object and update the cache.
If object is not a Gck.ObjectCache, then the attributes will simply be read from the object.
This will return immediately and complete asynchronously
- attr_types
the types of attributes to update
- cancellable
optional cancellation object
- callback
called when the operation completes