Gio.DBusConnection.prototype.close_sync
function close_sync(cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for g_dbus_connection_close_sync()
}
  Synchronously closees connection. The calling thread is blocked until this is done. See Gio.DBusConnection.prototype.close 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