Gio.DBusConnection.prototype.is_closed

function is_closed(): Boolean {
    // Gjs wrapper for g_dbus_connection_is_closed()
}
  

Gets whether connection is closed.

Since 2.26

Returns

true if the connection is closed, false otherwise