Gio.DBusConnection.prototype.flush_sync
function flush_sync(cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for g_dbus_connection_flush_sync()
}
Synchronously flushes connection. The calling thread is blocked until this is done. See Gio.DBusConnection.prototype.flush for the asynchronous version of this method and more details about what it does.
Since 2.26
- cancellable
a Gio.Cancellable or null
- Returns
true if the operation succeeded, false if @error is set