Gcr.Importer.prototype.import_async

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

Import the queued items in the importer. This function returns immediately and completes asynchronously.

cancellable

a Gio.Cancellable, or null

callback

called when the operation completes