Gio.DBusConnection.new_finish

function new_finish(res: Gio.AsyncResult): Gio.DBusConnection {
    // Gjs wrapper for g_dbus_connection_new_finish()
}
  

Finishes an operation started with Gio.DBusConnection.new.

Since 2.26

res

a Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gio.DBusConnection.new.

Returns

a Gio.DBusConnection or null if @error is set. Free with GObject.Object.prototype.unref.