Gio.DBusConnection.prototype.flush_finish

function flush_finish(res: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_dbus_connection_flush_finish()
}
  

Finishes an operation started with Gio.DBusConnection.prototype.flush.

Since 2.26

res

a Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Gio.DBusConnection.prototype.flush

Returns

true if the operation succeeded, false if @error is set