Gio.DBusProxy.prototype.get_default_timeout

function get_default_timeout(): Number(gint) {
    // Gjs wrapper for g_dbus_proxy_get_default_timeout()
}
  

Gets the timeout to use if -1 (specifying default timeout) is passed as @timeout_msec in the Gio.DBusProxy.prototype.call and Gio.DBusProxy.prototype.call_sync functions.

See the Gio.DBusProxy.g_default_timeout property for more details.

Since 2.26

Returns

Timeout to use for proxy.