Gio.AsyncInitable.prototype.init_finish

function init_finish(res: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_async_initable_init_finish()
}
  

Finishes asynchronous initialization and returns the result. See Gio.AsyncInitable.prototype.init_async.

Since 2.22

res

a Gio.AsyncResult.

Returns

true if successful. If an error has occurred, this function will return false and set @error appropriately if present.