Gck.ObjectCache.prototype.update

function update(attr_types: Array(Number(gulong)), cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for gck_object_cache_update()
}
  

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 may block, use the asynchronous version when this is not desirable

attr_types

the types of attributes to update

cancellable

optional cancellation object

Returns

whether the cache update was successful