flushSync

open fun flushSync(cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Synchronously flushes @connection. The calling thread is blocked until this is done. See g_dbus_connection_flush() for the asynchronous version of this method and more details about what it does.

Return

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

Since

2.26

Parameters

cancellable

a #GCancellable or null