Gck.ObjectCache.prototype.update_async

function update_async(attr_types: Array(Number(gulong)), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_object_cache_update_async()
}
  

Update the object cache with given attributes. If an attribute already exists in the cache, it will be updated, and if it doesn't it will be added.

This call will return immediately and complete asynchronously.

attr_types

the types of attributes to update

cancellable

optional cancellation object

callback

called when the operation completes