Gtk.IconInfo.prototype.load_icon_async

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

Asynchronously load, render and scale an icon previously looked up from the icon theme using Gtk.lookup_icon.

For more details, see Gtk.IconInfo.prototype.load_icon which is the synchronous version of this call.

Since 3.8

cancellable

optional Gio.Cancellable object, null to ignore

callback

a Gio.AsyncReadyCallback to call when the request is satisfied