DBusConnection.flushSync

bool flushSync(gio.cancellable.Cancellable cancellable = null)

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.

Parameters

cancellablea #GCancellable or null

Returns

true if the operation succeeded, false if error is set

Throws

[ErrorWrap]