Secret.Collection.prototype.load_items_sync

function load_items_sync(cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for secret_collection_load_items_sync()
}
  

Ensure that the Secret.Collection proxy has loaded all the items present in the Secret Service. This affects the result of Secret.Collection.prototype.get_items.

For collections returned from Secret.Service.prototype.get_collections the items will have already been loaded.

This method may block indefinitely and should not be used in user interface threads.

cancellable

optional cancellation object

Returns

whether the load was successful or not