DBusConnection.flushSync

Synchronously flushes connection. The calling thread is blocked until this is done. See gio.dbus_connection.DBusConnection.flush for the asynchronous version of this method and more details about what it does.

class DBusConnection
bool
flushSync

Parameters

cancellable gio.cancellable.Cancellable

a #GCancellable or null

Return Value

Type: bool

true if the operation succeeded, false if error is set