Gio.LoadableIcon.prototype.load_async

function load_async(size: Number(gint), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for g_loadable_icon_load_async()
}
  

Loads an icon asynchronously. To finish this function, see Gio.LoadableIcon.prototype.load_finish. For the synchronous, blocking version of this function, see Gio.LoadableIcon.prototype.load.

size

an integer.

cancellable

optional Gio.Cancellable object, null to ignore.

callback

a Gio.AsyncReadyCallback to call when the request is satisfied