Secret.Collection.prototype.load_items

function load_items(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_collection_load_items()
}
  

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 will return immediately and complete asynchronously.

cancellable

optional cancellation object

callback

called when the operation completes